Method: Mongoid::Persistence::Atomic::Operation#operation
- Defined in:
- lib/mongoid/persistence/atomic/operation.rb
#operation(modifier) ⇒ Hash
Get the atomic operation to perform.
49 50 51 |
# File 'lib/mongoid/persistence/atomic/operation.rb', line 49 def operation(modifier) { modifier => { path => value } } end |