Class: Symbol
- Inherits:
-
Object
- Object
- Symbol
- Defined in:
- lib/money/core_extensions.rb
Overview
Open Symbol
to add new methods.
Instance Method Summary collapse
-
#to_currency ⇒ Money::Currency
Converts the current symbol into a
Currency
object.
Instance Method Details
#to_currency ⇒ Money::Currency
Converts the current symbol into a Currency
object.
78 79 80 |
# File 'lib/money/core_extensions.rb', line 78 def to_currency Money::Currency.new(self) end |