Class: MongoMapper::Plugins::Associations::InArrayProxy
- Inherits:
-
Object
- Object
- MongoMapper::Plugins::Associations::InArrayProxy
- Defined in:
- lib/mm_dirtier/extensions.rb
Instance Method Summary collapse
Instance Method Details
#can_be_observable? ⇒ Boolean
35 |
# File 'lib/mm_dirtier/extensions.rb', line 35 def can_be_observable?; true; end |
#make_observable ⇒ Object
38 39 40 41 |
# File 'lib/mm_dirtier/extensions.rb', line 38 def make_observable class << self; include MmDirtier::InArrayProxyListener;end unless observable? @observable = true end |
#observable? ⇒ Boolean
36 |
# File 'lib/mm_dirtier/extensions.rb', line 36 def observable?; @observable; end |