Module: DataMapper::Model
- Defined in:
- lib/dm-adjust/model.rb
Instance Method Summary collapse
- #adjust(*args) ⇒ Object
-
#adjust!(*args) ⇒ Object
increment or decrement attributes on all objects in a resource.
Instance Method Details
#adjust(*args) ⇒ Object
4 5 6 |
# File 'lib/dm-adjust/model.rb', line 4 def adjust(*args) all.adjust(*args) end |
#adjust!(*args) ⇒ Object
increment or decrement attributes on all objects in a resource
17 18 19 |
# File 'lib/dm-adjust/model.rb', line 17 def adjust!(*args) all.adjust!(*args) end |