module ISO3166::CountryCurrencyMethods

Optional extension which allows you to get back a Money::Currency object with all the currency info

Public Instance Methods

currency() click to toggle source
# File lib/countries/country/currency_methods.rb, line 6
def currency
  Money::Currency.find(data['currency_code'])
end