Module: Money::Orm::Generic::ClassMethods
- Defined in:
- lib/money/orm/generic.rb
Overview
Virtual price / currency attributes
Instance Method Summary collapse
Instance Method Details
#monetize_for(*names) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/money/orm/generic.rb', line 6 def monetize_for *names = names. = {:as => :priced} if .blank? names.each do |name| monetize_one name, .dup end end |