lib/world-flags.rb in world-flags-0.3.6 vs lib/world-flags.rb in world-flags-0.4.0
- old
+ new
@@ -35,10 +35,10 @@
@locale_flag_map ||= keys_to_sym(locale_flag_hash)
end
# see core_ext
def flag_locale_map
- locale_flag_map.hash_revert
+ @flag_locale_map ||= keys_to_sym(locale_flag_map.hash_revert)
end
protected
def keys_to_sym hash