Sha256: a13158ea3605e6cc9dd8b6da8921a1b7674ad9ed639cba9ee0fd8e7d0346ffc5

Contents?: true

Size: 162 Bytes

Versions: 4

Compression:

Stored size: 162 Bytes

Contents

module Notify
  if which('growlnotify')
    def self.notify(title, message, option = {})
      system 'growlnotify', '-t', title, '-m', message
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
notify-0.5.2 lib/notify/growlnotify.rb
notify-0.5.1 lib/notify/growlnotify.rb
notify-0.5.0 lib/notify/growlnotify.rb
notify-0.4.0 lib/notify/growlnotify.rb