Sha256: 67c01b513730137405beadb4ff6137c4dbda6b1a4313f43f4f224fb9305f1f0c
Contents?: true
Size: 565 Bytes
Versions: 2
Compression:
Stored size: 565 Bytes
Contents
require 'geolookup/version' require 'geolookup/usa/county' require 'geolookup/usa/state' require 'geolookup/usa/metro' require 'geolookup/country' require 'geolookup/country_phone_codes' require 'geolookup/usa/areacodes' require 'geolookup/usa/zipcodes' 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_name) YAML.load_file(File.join(File.dirname(__FILE__), "data/", file_name)) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
geolookup-0.6.4 | lib/geolookup.rb |
geolookup-0.6.2 | lib/geolookup.rb |