Class: Pomo::Notifier::NotificationCenterNotifier

Inherits:
Object
  • Object
show all
Defined in:
lib/pomo/notifier/notification_center_notifier.rb

Instance Method Summary collapse

Instance Method Details

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



6
7
8
9
10
# File 'lib/pomo/notifier/notification_center_notifier.rb', line 6

def notify(message, opts = {})
  title = 'Pomo'

  TerminalNotifier.notify message, :title => title, :subtitle => opts[:header]
end