class City

Public Class Methods

new(name) click to toggle source
# File lib/ipdb/city.rb, line 5
def initialize(name)
  @db = Reader.new name
end

Public Instance Methods

find(ipx,lang) click to toggle source
# File lib/ipdb/city.rb, line 9
def find(ipx,lang)
  @db.find ipx, lang
end