module Geolookup::USA::AreaCodes
Constants
- AREA_CODE_META_INFO_FILE
Public Class Methods
find(area_code)
click to toggle source
# File lib/geolookup/usa/areacodes.rb, line 11 def self.find(area_code) to_h[area_code.to_s] || {} end
to_h()
click to toggle source
# File lib/geolookup/usa/areacodes.rb, line 7 def self.to_h @area_codes_hash ||= Geolookup.load_hash_from_file(AREA_CODE_META_INFO_FILE) end