Skip to content
Snippets Groups Projects
Commit 32c3acb3 authored by Michael Rodrigues's avatar Michael Rodrigues Committed by Romain Tartière
Browse files

fixed another indentation mismatch

parent 1a9873b4
No related branches found
No related tags found
No related merge requests found
......@@ -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
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment