Class: Pomo::Notifier::LibnotifyNotifier
- Inherits:
-
Object
- Object
- Pomo::Notifier::LibnotifyNotifier
- Defined in:
- lib/pomo/notifier/libnotify_notifier.rb
Instance Method Summary collapse
Instance Method Details
#notify(message, opts = {}) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/pomo/notifier/libnotify_notifier.rb', line 6 def notify(, opts = {}) title = 'Pomo' = [opts[:header], opts[:message]].join(' ').lstrip Libnotify.show :body => , :summary => title end |