module

Money::Exchange

Instance methods

exchange_to(other_currency) : Money

Exchanges self to a new Money object in other_currency.

Source
with_same_currency(other : Money, &)

Yields other Money object exchanged to self.currency.

Source