Class: Object

Inherits:
BasicObject
Defined in:
lib/has_ip_address/extensions.rb

Instance Method Summary collapse

Instance Method Details

#to_ipaddrObject



31
32
33
# File 'lib/has_ip_address/extensions.rb', line 31

def to_ipaddr
  IPAddr.new(self)
end