Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/coinage/core_ext/string.rb

Instance Method Summary collapse

Instance Method Details

#to_moneyObject



3
4
5
# File 'lib/coinage/core_ext/string.rb', line 3

def to_money
  Money.new(self)
end