Module: Notifiable
- Defined in:
- lib/notifiable.rb
Instance Method Summary collapse
Instance Method Details
#notifiable(&block) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/notifiable.rb', line 2 def notifiable(&block) yield rescue => exception ExceptionNotifier.deliver_exception_notification(exception) raise end |