Module: Rodimus::Observing
- Included in:
- Benchmark, Step, Transformation
- Defined in:
- lib/rodimus/observing.rb
Instance Method Summary collapse
Instance Method Details
#on_notify(subject, event_type) ⇒ Object
4 5 6 7 8 |
# File 'lib/rodimus/observing.rb', line 4 def on_notify(subject, event_type) discovered_hooks(event_type).each do |hook| self.send(hook) end end |