Module: Autotest::Growl

Defined in:
lib/hubeye/notification/growl.rb

Constant Summary collapse

EXPIRATION_IN_SECONDS =
2
CHANGE_ICON_PATH =
::Notification::CHANGE_ICON_PATH

Class Method Summary collapse

Class Method Details

.growl(title, msg, img = CHANGE_ICON_PATH, pri = 0, stick = "") ⇒ Object



7
8
9
# File 'lib/hubeye/notification/growl.rb', line 7

def self.growl(title, msg, img=CHANGE_ICON_PATH, pri=0, stick="")
  system "growlnotify  -n autotest --image #{img} -p #{pri} -m #{msg.inspect} #{title} #{stick}"
end