Skip to content

Commit

Permalink
Bugfix: I seem to have accidentally added spaces where they dont belo…
Browse files Browse the repository at this point in the history
…ng and not noticed :-S
  • Loading branch information
apeiros committed Aug 10, 2012
1 parent 422c7e7 commit 93571fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swissmatch/zipcodes.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def [](key, add_on=nil)
case add_on case add_on
when nil when nil
by_code(key.to_i) by_code(key.to_i)
when 0..99, /\A\d+ \z/ when 0..99, /\A\d+\z/
by_code_and_add_on(key.to_i, add_on.to_i) by_code_and_add_on(key.to_i, add_on.to_i)
when String when String
by_code_and_name(key.to_i, add_on) by_code_and_name(key.to_i, add_on)
Expand Down

0 comments on commit 93571fc

Please sign in to comment.