summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/tftp.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 21:42:32 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 21:42:32 +0300
commit12de7cf1aefcd5d567a9e6e2eaa061f2074c8dbb (patch)
tree5912d325d739d66a05690cb0d4b87a92ffde3fca /lib/custodian/protocoltest/tftp.rb
parent91bfb015647bba1249a96933a48d88f2a50039a9 (diff)
More updates to silence rubocop style-guides.
These warnings were largely whitespace-based.
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