Sha256: 95f0c0769634e6ed34bc3fc912c8d0b45043a071158fec203dd095dc7bb1996e
Contents?: true
Size: 286 Bytes
Versions: 1
Compression:
Stored size: 286 Bytes
Contents
module Notify begin require 'ruby-growl' @@growl = Growl.new 'localhost', 'ruby', ['notify'] def self.notify(title, message, option = {}) @@growl.notify 'notify', title, message, option[:priority] || 0, option[:sticky] || false end rescue LoadError end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
notify-0.4.0 | lib/notify/ruby-growl.rb |