module Geolookup

Constants

VERSION

Public Class Methods

load_hash_from_file(file_name) click to toggle source

self.load_file

Loads a given .yml file that contains a hash and returns the hash

# File lib/geolookup.rb, line 16
def self.load_hash_from_file(file_name)
  YAML.load_file(File.join(File.dirname(__FILE__), "data/", file_name))
end