Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/minting/money_attribute/core_ext.rb
Overview
:nodoc
Instance Method Summary collapse
- #to_money(currency) ⇒ Object (also: #mint)
Instance Method Details
#to_money(currency) ⇒ Object Also known as: mint
24 25 26 |
# File 'lib/minting/money_attribute/core_ext.rb', line 24 def to_money(currency) Mint.money(to_r, currency) end |