Skip to content
Snippets Groups Projects
Commit 170a934a authored by Alex Reisner's avatar Alex Reisner
Browse files

Code cleanup.

parent 7ca1ba9e
No related branches found
No related tags found
No related merge requests found
......@@ -36,14 +36,10 @@ module Geocoder::Result
""
end
end
def sub_state
if !state.empty?
if state['SubAdministrativeArea']
state['SubAdministrativeArea']['SubAdministrativeAreaName']
else
""
end
if !state.empty? and state['SubAdministrativeArea']
state['SubAdministrativeArea']['SubAdministrativeAreaName']
else
""
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment