Class: Guard::Dsl
- Inherits:
-
Object
- Object
- Guard::Dsl
- Defined in:
- lib/guard/addremove.rb
Instance Method Summary collapse
-
#n(msg, title = '', image = nil) ⇒ Object
Taken from guard-shell.
Instance Method Details
#n(msg, title = '', image = nil) ⇒ Object
Taken from guard-shell. Easy method to display a notification
28 29 30 |
# File 'lib/guard/addremove.rb', line 28 def n(msg, title='', image=nil) Notifier.notify(msg, :title => title, :image => image) end |