module Money::Exchange

Direct including types

Defined in:

money/money/exchange.cr

Instance Method Summary

Instance Method Detail

def exchange_to(other_currency) : Money #

Exchanges self to a new Money object in other_currency.


[View source]
def with_same_currency(other : Money, &) #

Yields other Money object exchanged to self.currency.


[View source]