Creates a new Money object of the given value, using the Canadian dollar currency.
@param [Integer] cents The cents value.
@return [Money]
@example
n = Money.ca_dollar(100) n.cents #=> 100 n.currency #=> #<Money::Currency id: cad>
Alias for ca_dollar
Create a new money object with value 0.
@param [Currency, String, Symbol] currency The currency to use.
Money.empty #=> #<Money @fractional=0>
Alias for euro
Creates a new Money object of the given value, using the Euro currency.
n = Money.euro(100) n.cents #=> 100 n.currency #=> #<Money::Currency id: eur>
Alias for pound_sterling
Creates a new Money object of the given value, in British pounds.
@param [Integer] pence The pence value.
n = Money.pound_sterling(100) n.fractional #=> 100 n.currency #=> #<Money::Currency id: gbp>
Creates a new Money object of the given value, using the American dollar currency.
n = Money.us_dollar(100) n.cents #=> 100 n.currency #=> #<Money::Currency id: usd>
Alias for us_dollar
Alias for empty
[Validate]