Class: RemindMeTo::Notifier::LibnotifyNotifier

Inherits:
Object
  • Object
show all
Defined in:
lib/remindmeto/notifier/libnotify_notifier.rb

Instance Method Summary collapse

Instance Method Details

#notify(message, opts = {}) ⇒ Object



6
7
8
9
# File 'lib/remindmeto/notifier/libnotify_notifier.rb', line 6

def notify(message, opts = {})
  title = 'RemindMeTo'
  Libnotify.show :body => message, :summary => opts[:header]
end