class Travis::Tools::Notification::Growl

Public Instance Methods

available?() click to toggle source
# File lib/travis/tools/notification.rb, line 53
def available?
  System.has? 'growlnotify' and System.running? "Growl"
end
notify(title, body) click to toggle source
# File lib/travis/tools/notification.rb, line 49
def notify(title, body)
  system 'growlnotify', '-n', 'Travis', '--image', ICON, '-m', body, title
end