Overview
-
module Latinum
-
class ExchangeRate
A basic exchange rate for a named resource.
-
class Bank
A bank defines exchange rates and formatting rules for resources. It is a centralised location for resource formatting and metadata.
-
class Collection
Aggregates a set of resources, typically used for summing values to compute a total.
-
module Currencies
-
class DifferentResourceNameError
Represents an error when trying to perform arithmetic on differently named resources.
-
module Formatters
-
class PlainFormatter
Formats a currency using a standard decimal notation.
-
class DecimalCurrencyFormatter
Formats a currency using a standard decimal notation.
-
-
class Resource
A Resource represents a fixed amount of a named currency or material.
-