class Numeric

Public Instance Methods

cent() click to toggle source
# File lib/mongoid_money/money.rb, line 172
def cent
  cents
end
cents() click to toggle source
# File lib/mongoid_money/money.rb, line 176
def cents
  Money.new_from_cents self
end
dollar() click to toggle source
# File lib/mongoid_money/money.rb, line 164
def dollar
  dollars
end
dollars() click to toggle source
# File lib/mongoid_money/money.rb, line 168
def dollars
  Money.new_from_dollars self
end