Class: Notifies::Growl
- Inherits:
-
Object
- Object
- Notifies::Growl
- Defined in:
- lib/notifies/growl.rb
Class Method Summary collapse
Class Method Details
.available? ⇒ Boolean
8 9 10 |
# File 'lib/notifies/growl.rb', line 8 def self.available? !!::Growl.installed? end |
.notify(msg, options = {}) ⇒ Object
12 13 14 15 |
# File 'lib/notifies/growl.rb', line 12 def self.notify msg, = {} method = METHODS[.delete(:type)] || :notify_info ::Growl.send method, msg, () end |