lib/countries/country/emoji.rb in countries-4.2.0 vs lib/countries/country/emoji.rb in countries-4.2.1

- old
+ new

@@ -30,9 +30,12 @@ 'x' => 'πŸ‡½', 'y' => 'πŸ‡Ύ', 'z' => 'πŸ‡Ώ' }.freeze + # @return [String] the emoji flag for this country + # + # The emoji flag for this country, using Unicode Regional Indicator characters. e.g: "U+1F1FA U+1F1F8" for πŸ‡ΊπŸ‡Έ def emoji_flag alpha2.downcase.chars.map { |c| CODE_POINTS[c] }.join('') end end end