class GrowlGithubFeed::PopUpper

Public Class Methods

new() click to toggle source
# File lib/growl-github-feed/popupper.rb, line 7
def initialize
  @g = Growl.new 'localhost', 'GrowlGithubFeeds'
end

Public Instance Methods

notify(title, msg, img=Growl::RUBY_LOGO_PNG) click to toggle source
# File lib/growl-github-feed/popupper.rb, line 11
def notify(title, msg, img=Growl::RUBY_LOGO_PNG)
  app_name = "GrowlGithubFeed"
  @g.add_notification(app_name, "#{title}", "#{img}")
  @g.notify "#{app_name}",  "#{title}",  "#{msg}"
end