lib/world_flags/util/country.rb in world-flags-0.6.0 vs lib/world_flags/util/country.rb in world-flags-0.6.1
- old
+ new
@@ -1,9 +1,13 @@
+require 'world_flags/util/name_enabler'
+
module WorldFlags
module Util
module Country
attr_writer :countries_map, :hashied_countries
+ extend WorldFlags::Util::NameEnabler
+
def country_label code, locale
WorldFlags.country code, locale
end
def country code = :us, locale = :en
\ No newline at end of file