class Money
def self.add_rate(from_currency, to_currency, rate)
-
(Numeric)-
Parameters:
-
rate(Numeric) -- Rate to exchange with. -
to_currency(Currency, String, Symbol) -- Currency to exchange to. -
from_currency(Currency, String, Symbol) -- Currency to exchange from.
def self.add_rate(from_currency, to_currency, rate) Money.default_bank.add_rate(from_currency, to_currency, rate) end