Class: TomatoHarvest::Notifier::NotificationCenter

Inherits:
Object
  • Object
show all
Defined in:
lib/tomatoharvest/notifier/notification_center.rb

Instance Method Summary collapse

Instance Method Details

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



6
7
8
9
10
# File 'lib/tomatoharvest/notifier/notification_center.rb', line 6

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

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