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