Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/money/core_extensions.rb
Overview
Allows Writing of ‘100’.to_money for String
types Excess characters will be discarded
'100'.to_money => #<Money @cents=10000>
'100.37'.to_money => #<Money @cents=10037>