Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/mongoid_money/money.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#cent ⇒ Object
172 173 174 |
# File 'lib/mongoid_money/money.rb', line 172 def cent cents end |
#cents ⇒ Object
176 177 178 |
# File 'lib/mongoid_money/money.rb', line 176 def cents Money.new_from_cents self end |
#dollar ⇒ Object
164 165 166 |
# File 'lib/mongoid_money/money.rb', line 164 def dollar dollars end |
#dollars ⇒ Object
168 169 170 |
# File 'lib/mongoid_money/money.rb', line 168 def dollars Money.new_from_dollars self end |