Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/money_attribute/core_ext.rb
Overview
:nodoc
Instance Method Summary collapse
Instance Method Details
#to_money(currency = MoneyAttribute.default_currency) ⇒ Object
7 |
# File 'lib/money_attribute/core_ext.rb', line 7 def to_money(currency = MoneyAttribute.default_currency) = Mint.money(self, currency) |