Class: Money::LocaleBackend::Currency

Inherits:
Base
  • Object
show all
Defined in:
lib/money/locale_backend/currency.rb

Instance Method Summary collapse

Instance Method Details

#lookup(key, currency) ⇒ Object


6
7
8
# File 'lib/money/locale_backend/currency.rb', line 6

def lookup(key, currency)
  currency.public_send(key) if currency.respond_to?(key)
end