Sha256: 22e859640df99bc8a9d0498bac7fff6dc518259ad2945033c3bdad5bd1fde7d7
Contents?: true
Size: 449 Bytes
Versions: 1
Compression:
Stored size: 449 Bytes
Contents
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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
geolookup-0.5.4 | lib/geolookup.rb |