Module: Bystander::Notifier
- Defined in:
- lib/bystander/notifier.rb
Class Method Summary collapse
Class Method Details
.wrap(identifier) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/bystander/notifier.rb', line 4 def self.wrap identifier Bystander.transport.notify "Calling: #{identifier}" return_value = yield Bystander.transport.notify "Finished: #{identifier}" return_value end |