module Melonic::GeoIP::Database

Constants

VERSION

Public Class Methods

get(filename) click to toggle source
# File lib/melonic/geoip/database.rb, line 6
def self.get filename
  "#{self.root}/db/geoip/#{filename}"
end
root() click to toggle source
# File lib/melonic/geoip/database.rb, line 10
def self.root
  File.expand_path '../../../..', __FILE__
end