Home
Classes
Methods
Defined In
lib/geoip.rb
Parent
Struct.new(:number, :asn)
Methods
#to_hash
Pages
LICENSE
README
Class and Module Index
GeoIP
GeoIP::ASN
GeoIP::City
GeoIP::Country
GeoIP::ISP
GeoIP::Region
class GeoIP::ASN
Public Instance Methods
to_hash
()
click to toggle source
# File lib/geoip.rb, line 151
def
to_hash
Hash
[
each_pair
.
to_a
]
end