Class: Guard::Dsl

Inherits:
Object
  • Object
show all
Defined in:
lib/guard/shell.rb

Instance Method Summary collapse

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