Method: MrCommon::Country.names

Defined in:
app/models/mr_common/country.rb

.namesArray<String>

Returns country names in alphabetical order.

Returns:

  • (Array<String>)

    country names in alphabetical order



27
28
29
# File 'app/models/mr_common/country.rb', line 27

def names
  Carmen::Country.all.map(&:name).sort
end