module Growl

Public Instance Methods

installed?() click to toggle source
# File lib/simple_growl/guard.rb, line 6
def installed?
  File.exists?('/usr/bin/osascript')
end
notify(msg, opts = {:title => "Guard"}) click to toggle source
# File lib/simple_growl/guard.rb, line 9
def notify(msg, opts = {:title => "Guard"})
  ::SimpleGrowl.notify(opts[:title] || "Guard", msg)
end