Class: SpecRunQueue::Notifier::Growl

Inherits:
Base
  • Object
show all
Defined in:
lib/spec_run_queue/notifier/growl.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #message

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from SpecRunQueue::Notifier::Base

Instance Method Details

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



6
7
8
9
10
# File 'lib/spec_run_queue/notifier/growl.rb', line 6

def notify(message, options = {})
  super
  message = options[:use_full_message] ? message : short_message
  growl.notify "rspec-growl Notification", "rspec-growl", message, priority
end