class method
IPAddr.new_ntoh
(::String addr) -> ::IPAddr
new_ntoh(addr)
lib/ipaddr.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/ipaddr.rb, line 108
def self.new_ntoh(addr)
return new(ntop(addr))
end
Creates a new ipaddr containing the given network byte ordered string form of an IP address.