End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
IPAddr.new_ntoh
new_ntoh(addr)
lib/ipaddr.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.2.0/lib/ipaddr.rb, line 107
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.