summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/ftp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest/ftp.rb')
-rw-r--r--lib/custodian/protocoltest/ftp.rb16
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/custodian/protocoltest/ftp.rb b/lib/custodian/protocoltest/ftp.rb
index db05ac4..a816bfd 100644
--- a/lib/custodian/protocoltest/ftp.rb
+++ b/lib/custodian/protocoltest/ftp.rb
@@ -71,27 +71,17 @@ module Custodian
#
- # Helper for development.
+ # Allow this test to be serialized.
#
def to_s
- "ftp-test of #{@host}:#{@port}."
+ @line
end
#
- # Convert this class to JSON such that it may be serialized.
- #
- def to_json
- hash = { :line => @line }
- hash.to_json
- end
-
-
-
-
- # Run the TCP-protocol test.
+ # Run the test.
#
def run_test