Module: Growl
Instance Method Summary collapse
Instance Method Details
#installed? ⇒ Boolean
6 7 8 |
# File 'lib/simple_growl/guard.rb', line 6 def installed? File.exists?('/usr/bin/osascript') end |
#notify(msg, opts = {:title => "Guard"}) ⇒ Object
9 10 11 |
# File 'lib/simple_growl/guard.rb', line 9 def notify(msg, opts = {:title => "Guard"}) ::SimpleGrowl.notify(opts[:title] || "Guard", msg) end |