diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-02-18 10:29:39 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-02-18 10:29:39 +0000 |
commit | 3025af459e28db9a7a1431660e5505d86d924d46 (patch) | |
tree | a6571f76f232493878983a5aedf5ce6a09b5582d /lib/custodian/testfactory.rb | |
parent | 4e4fb3d971bcc53e7958ba8ad42ad8413766f9d7 (diff) |
Minor commenting/whitespace fixups.
No functional changes.
Diffstat (limited to 'lib/custodian/testfactory.rb')
-rw-r--r-- | lib/custodian/testfactory.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/custodian/testfactory.rb b/lib/custodian/testfactory.rb index b00703f..41bc445 100644 --- a/lib/custodian/testfactory.rb +++ b/lib/custodian/testfactory.rb @@ -28,7 +28,6 @@ module Custodian # # The line will be like "target must run tcp|ssh|ftp|smtp .." # - # def self.create( line ) @@ -76,7 +75,7 @@ module Custodian return( result ) else - raise "Unknown line given - Failed to instantiate a suitable protocol-test: '#{line}'" + raise "Failed to instantiate a suitable protocol-test for '#{line}'" end end @@ -91,18 +90,17 @@ module Custodian # - # Return an array of test-types we know about + # Return the test-types we know about. # # i.e. Derived classes that have registered themselves. # - # def self.known_tests @@subclasses end # - # Get the friendly-type of this class + # Get the friendly-type of derived-classes # def get_type # get each registed type |