lib/geolookup/usa/state.rb in geolookup-0.5.5 vs lib/geolookup/usa/state.rb in geolookup-0.5.6
- old
+ new
@@ -38,10 +38,10 @@
#
# Given a state name OR abbreviation return a code. It takes both an abbreviation and
# a state full name
#
def self.name_to_abbreviation(state_abbrev)
- code_to_name(abbreviation_to_code(state_abbrev))
+ code_to_abbreviation(abbreviation_to_code(state_abbrev))
end
###################################################################
# self.state_name_to_code
#