Class: GeoDB

Inherits:
Object
  • Object
show all
Defined in:
lib/geo_db.rb

Class Method Summary collapse

Class Method Details

.country_pathObject



6
7
8
# File 'lib/geo_db.rb', line 6

def self.country_path
  File.expand_path('../GeoIP.dat', __FILE__)
end

.pathObject



2
3
4
# File 'lib/geo_db.rb', line 2

def self.path
  File.expand_path('../GeoLiteCity.dat', __FILE__)
end