Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
moola
master
Moola
CompatabilityError
Currency
Exchange
InvalidAmount
Money
UnavailableConversionError
UnknownCurrencyError
Built with Crystal 1.9.2
2023-10-08 11:22:51 UTC
module
Moola
Defined in:
moola.cr
moola/currency.cr
moola/exchange.cr
moola/money.cr
Constructors
.new
(amount, currency_name =
Money
::
DEFAULT_CURRENCY_NAME
)
Class Method Summary
.zero
Constructor Detail
def self.
new
(amount, currency_name =
Money
::
DEFAULT_CURRENCY_NAME
)
#
[
View source
]
Class Method Detail
def self.
zero
#
[
View source
]