Module: PipeOperator::Observer
- Defined in:
- lib/pipe_operator/observer.rb
Instance Method Summary collapse
Instance Method Details
#singleton_method_added(method) ⇒ Object
3 4 5 6 |
# File 'lib/pipe_operator/observer.rb', line 3 def singleton_method_added(method) ProxyResolver.new(self).proxy.define(method) super end |
#singleton_method_removed(method) ⇒ Object
8 9 10 11 |
# File 'lib/pipe_operator/observer.rb', line 8 def singleton_method_removed(method) ProxyResolver.new(self).proxy.undefine(method) super end |