lib/geolookup/usa/state.rb in geolookup-0.5.2 vs lib/geolookup/usa/state.rb in geolookup-0.5.3

- old
+ new

@@ -84,9 +84,18 @@ # def self.names STATE_CODE_TO_FULL.values end + ################################################################### + # self.codes + # + # Returns an array of state names + # + def self.codes + STATE_CODE_TO_FULL.keys + end + class << self alias :abbreviation_to_code :name_to_code alias :abbreviation_to_lat_long :name_to_lat_long end \ No newline at end of file