Module: MmDirtier::ManyEmbeddedProxyListener
- Includes:
- Observables::ArrayWatcher
- Defined in:
- lib/mm_dirtier/many_embedded_proxy_listener.rb
Instance Method Summary collapse
-
#replace(*args) ⇒ Object
It appears that #make_observable operates on the underlying target, not on the proxy.
Instance Method Details
#replace(*args) ⇒ Object
It appears that #make_observable operates on the underlying target, not on the proxy. Therefore, ‘replace’, which is proxied, does not get properly overriden. this is intended to fix that.
8 9 10 11 |
# File 'lib/mm_dirtier/many_embedded_proxy_listener.rb', line 8 def replace(*args) changes = changes_for(:modified,:replace,*args) changing(:modified,:trigger=>:replace, :changes=>changes) {super} end |