Class: Guard::Staticise::Notifier
- Inherits:
-
Object
- Object
- Guard::Staticise::Notifier
- Defined in:
- lib/guard/staticise/notifier.rb
Class Method Summary collapse
Class Method Details
.image(result) ⇒ Object
5 6 7 |
# File 'lib/guard/staticise/notifier.rb', line 5 def image(result) result ? :success: :faild end |
.notify(result, message) ⇒ Object
9 10 11 |
# File 'lib/guard/staticise/notifier.rb', line 9 def notify(result, ) ::Guard::Notifier.notify(, :title => 'Guard::Staticise', :image => image(result)) end |