Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/minting/mint/dsl/string.rb
Overview
Core extension: adds money-parsing helper to String.
Instance Method Summary collapse
-
#to_money(currency = nil) ⇒ Money
Parses self as a numeric string and creates a Money in the given currency.