Sha256: f7426d54a03694bb87ba1242c3494e9455a1f0e1b351c3d6902034d379f557a5
Contents?: true
Size: 164 Bytes
Versions: 13
Compression:
Stored size: 164 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
13 entries across 13 versions & 1 rubygems