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