summaryrefslogtreecommitdiff
path: root/lib/custodian/util/tftp.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2016-04-22 11:29:51 +0300
committerSteve Kemp <steve@steve.org.uk>2016-04-22 11:29:51 +0300
commit8990eefd051d0ea58b9f83bdf33cb5986369640c (patch)
treef6bd79e435bf8397b52aaa0636dfc585d1fdd0b8 /lib/custodian/util/tftp.rb
parentd80703942714155a0d04e4ebbb5deab290e1665a (diff)
Deleted trailing whitespace.
Made minor formatting cleanups
Diffstat (limited to 'lib/custodian/util/tftp.rb')
-rw-r--r--lib/custodian/util/tftp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/custodian/util/tftp.rb b/lib/custodian/util/tftp.rb
index 3028874..c012a82 100644
--- a/lib/custodian/util/tftp.rb
+++ b/lib/custodian/util/tftp.rb
@@ -13,13 +13,13 @@ module Custodian
# Store hostname and port
#
def initialize(hostname, port=69)
-
+
raise ArgumentError, 'Hostname must not be nil' if hostname.nil?
raise ArgumentError, 'Hostname must be a String' unless hostname.kind_of?(String)
raise ArgumentError, 'Port must be a number' unless port.to_i > 0
@hostname = hostname
- @port = port.to_i
+ @port = port.to_i
end
#