class IPDB::City
Public Class Methods
new(name)
click to toggle source
# File lib/ipdb/city.rb, line 7 def initialize(name) @db = Reader.new name end
Public Instance Methods
find(ipx, lang)
click to toggle source
# File lib/ipdb/city.rb, line 11 def find(ipx, lang) @db.find ipx, lang end
meta()
click to toggle source
# File lib/ipdb/city.rb, line 15 def meta @db.meta end