Module: MongoMapper::Plugins::EmbeddedCallbacks::ClassMethods
- Defined in:
- lib/mongo_mapper/plugins/embedded_callbacks.rb
Instance Method Summary collapse
- #embedded_callbacks_off ⇒ Object
- #embedded_callbacks_off? ⇒ Boolean
- #embedded_callbacks_on ⇒ Object
- #embedded_callbacks_on? ⇒ Boolean
Instance Method Details
#embedded_callbacks_off ⇒ Object
21 22 23 |
# File 'lib/mongo_mapper/plugins/embedded_callbacks.rb', line 21 def @embedded_callbacks_status = false end |
#embedded_callbacks_off? ⇒ Boolean
29 30 31 |
# File 'lib/mongo_mapper/plugins/embedded_callbacks.rb', line 29 def ! end |
#embedded_callbacks_on ⇒ Object
17 18 19 |
# File 'lib/mongo_mapper/plugins/embedded_callbacks.rb', line 17 def @embedded_callbacks_status = true end |
#embedded_callbacks_on? ⇒ Boolean
25 26 27 |
# File 'lib/mongo_mapper/plugins/embedded_callbacks.rb', line 25 def @embedded_callbacks_status == true end |