Class: Country

Inherits:
ISO3166::Country show all
Defined in:
lib/countries/global.rb

Constant Summary

Constants included from ISO3166::CountryClassMethods

ISO3166::CountryClassMethods::FIND_BY_REGEX, ISO3166::CountryClassMethods::SEARCH_TERM_FILTER_REGEX

Constants included from ISO3166::Emoji

ISO3166::Emoji::CODE_POINTS

Instance Attribute Summary

Attributes inherited from ISO3166::Country

#data

Instance Method Summary collapse

Methods inherited from ISO3166::Country

#<=>, #==, demongoize, #eql?, evolve, #hash, #in_eea?, #in_eu?, #initialize, #local_name, #local_names, mongoize, #mongoize, #reload, #start_of_week, #subdivision_names_with_codes, #subdivisions, #subdivisions?, #translated_names, #translation, #valid?

Methods included from ISO3166::CountryClassMethods

#[], #all, #all_names_with_codes, #all_translated, #codes, #create_subdivisions, #find_all_by, #method_missing, #new, #respond_to_missing?, #search, #subdivisions, #translations

Methods included from ISO3166::Emoji

#emoji_flag

Constructor Details

This class inherits a constructor from ISO3166::Country

Instance Method Details

#to_sObject



4
5
6
# File 'lib/countries/global.rb', line 4

def to_s
  name
end