class GeoIP::City

Warning: for historical reasons the region code is mis-named region_name here

Public Instance Methods

region_code() click to toggle source
# File lib/geoip.rb, line 190
def region_code
  self.region_name
end
to_hash() click to toggle source
# File lib/geoip.rb, line 186
def to_hash
  Hash[each_pair.to_a]
end