Class: Guard::Asciidoctor::Notifier
- Inherits:
-
Object
- Object
- Guard::Asciidoctor::Notifier
- Defined in:
- lib/guard/asciidoctor/notifier.rb
Class Method Summary collapse
Class Method Details
.image(result) ⇒ Object
9 10 11 |
# File 'lib/guard/asciidoctor/notifier.rb', line 9 def image(result) result ? :success : :failed end |
.notify(result, message) ⇒ Object
13 14 15 |
# File 'lib/guard/asciidoctor/notifier.rb', line 13 def notify(result, ) Compat::UI.notify(, title: 'Guard::Asciidoctor', image: image(result)) end |