From 8990eefd051d0ea58b9f83bdf33cb5986369640c Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Fri, 22 Apr 2016 11:29:51 +0300 Subject: Deleted trailing whitespace. Made minor formatting cleanups --- lib/custodian/util/tftp.rb | 4 ++-- 1 file 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 # -- cgit v1.2.1