Sha256: c447211df372017eae6d0ccf0d83eaed9c13e226e1e8af73a76d05a0214c71b1
Contents?: true
Size: 163 Bytes
Versions: 15
Compression:
Stored size: 163 Bytes
Contents
# encoding: utf-8 class String def to_money(currency = nil) Monetize.parse(self, currency) end def to_currency Money::Currency.new(self) end end
Version data entries
15 entries across 15 versions & 2 rubygems