summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/tftp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/custodian/protocoltest/tftp.rb')
-rw-r--r--lib/custodian/protocoltest/tftp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/protocoltest/tftp.rb b/lib/custodian/protocoltest/tftp.rb
index 596a204..9b263fe 100644
--- a/lib/custodian/protocoltest/tftp.rb
+++ b/lib/custodian/protocoltest/tftp.rb
@@ -75,14 +75,14 @@ module Custodian
@file = u.path
# Port might not be specified, if it is missing then default to 69.
- @port = u.port || "69"
+ @port = u.port || '69'
@port = @port.to_i
#
# Ensure there is a file to fetch
#
if @file.nil? || @file.empty?
- raise ArgumentError, "Missing file name"
+ raise ArgumentError, 'Missing file name'
end
end