require "geolookup/version" require "geolookup/usa/county" require "geolookup/usa/state" require "geolookup/country" module Geolookup ################################################################### # self.load_file # # Loads a given .yml file that contains a hash and returns the hash # def self.load_hash_from_file(file) fileName = File.open(file, "r") hash = YAML.load(fileName) fileName.close hash end end