summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Rodrigues <mikebrodrigues@gmail.com>2015-02-10 23:17:34 -0800
committerRomain Tartière <romain@blogreen.org>2017-08-30 08:47:14 +0200
commit32c3acb327bb953026286a8772192fad1ee4b35e (patch)
treedec631bd8abd1a0fbbb8353a8f33a01fa13ea1f8
parent1a9873b47b0a100ffdb26862055dc2fd0de559d1 (diff)
downloadipaddress-32c3acb327bb953026286a8772192fad1ee4b35e.tar.gz
fixed another indentation mismatch
-rw-r--r--lib/ipaddress.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/ipaddress.rb b/lib/ipaddress.rb
index 19b526f..4f8c71f 100644
--- a/lib/ipaddress.rb
+++ b/lib/ipaddress.rb
@@ -68,14 +68,14 @@ module IPAddress
#
def self.ntoa(uint)
unless(uint.is_a? Numeric and uint <= 0xffffffff and uint >= 0)
- raise(::ArgumentError, "not a long integer: #{uint.inspect}")
- end
- ret = []
- 4.times do
- ret.unshift(uint & 0xff)
- uint >>= 8
- end
- ret.join('.')
+ raise(::ArgumentError, "not a long integer: #{uint.inspect}")
+ end
+ ret = []
+ 4.times do
+ ret.unshift(uint & 0xff)
+ uint >>= 8
+ end
+ ret.join('.')
end
#