Class: Guard::Haml::Notifier
- Inherits:
-
Object
- Object
- Guard::Haml::Notifier
- Defined in:
- lib/guard/haml/notifier.rb
Class Method Summary collapse
Class Method Details
.image(result) ⇒ Object
7 8 9 |
# File 'lib/guard/haml/notifier.rb', line 7 def image result result ? :success : :failed end |
.notify(result, message) ⇒ Object
11 12 13 14 15 16 |
# File 'lib/guard/haml/notifier.rb', line 11 def notify( result, ) ::Guard::Notifier.notify( , :title => 'Guard::Haml', :image => image( result ) ) end |