26 27 28 29 30
# File 'lib/nmap.rb', line 26 def int_of obj Integer obj rescue raise ArgumentError, "cannot convert <#{ obj.inspect }> to int" end