Sha256: 47db300c8772ed9e78343ea282ab9a3132e861b0998508273ebb7302140421f6

Contents?: true

Size: 203 Bytes

Versions: 4

Compression:

Stored size: 203 Bytes

Contents

# encoding: utf-8

class String
  def to_big_money(currency = nil)
    BigMoney.new(self, currency)
  end
end

class Numeric
  def to_big_money(currency = nil)
    BigMoney.new(self, currency)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
big_money-1.2.2 lib/big_money/types.rb
big_money-1.2.1 lib/big_money/types.rb
big_money-1.2.0 lib/big_money/types.rb
big_money-1.1.0 lib/big_money/types.rb