Module Guard::Notifier::GrowlNotify
In: lib/guard/notifiers/growl_notify.rb

System notifications using the [GrowlNotify](github.com/scottdavis/growl_notify) gem.

This gem is available for OS X and sends system notifications to [Growl](growl.info) through AppleScript.

@example Add the `growl_notify` gem to your `Gemfile`

  group :development
    gem 'growl_notify'
  end

@example Add the `:growl_notify` notifier to your `Guardfile`

  notification :growl_notify

@example Add the `:growl_notify` notifier with configuration options to your `Guardfile`

  notification :growl_notify, :sticky => true

Methods

available?   notify  

Constants

DEFAULTS = { :sticky => false, :priority => 0   Default options for growl_notify gem

Public Instance methods

Test if the notification library is available.

@param [Boolean] silent true if no error messages should be shown @param [Hash] options notifier options @return [Boolean] the availability status

Show a system notification.

@param [String] type the notification type. Either ‘success’, ‘pending’, ‘failed’ or ‘notify’ @param [String] title the notification title @param [String] message the notification message body @param [String] image the path to the notification image @param [Hash] options additional notification library options @option options [Boolean] sticky if the message should stick to the screen @option options [Integer] priority the importance of message from -2 (very low) to 2 (emergency)

[Validate]