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