Class: Pomo::Notifier::GrowlNotifier
- Inherits:
-
Object
- Object
- Pomo::Notifier::GrowlNotifier
- Defined in:
- lib/pomo/notifier/growl_notifier.rb
Instance Method Summary collapse
Instance Method Details
#notify(message, opts = {}) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/pomo/notifier/growl_notifier.rb', line 6 def notify(, opts = {}) = [opts[:header], opts[:message]].join(' ').lstrip if opts[:type].equal? :warning Growl.notify_warning else Growl.notify_info end end |