class Notiffany::Notifier::Growl


password: ‘secret’
your ‘Guardfile` notification :growl, sticky: true, host: ’192.168.1.5’,
@example Add the ‘:growl_notify` notifier with configuration options to
notification :growl
@example Add the `:growl` notifier to your `Guardfile`
end
gem ’growl’
group :development
@example Add the ‘growl` gem to your `Gemfile`
brew install growlnotify
@example Install `growlnotify` with Homebrew
want to customize each notification type in Growl.
notifications in the Growl preferences. Use the :gntp notifier if you
Sending notifications with this notifier will not show the different<br><br>(mxcl.github.com/homebrew/).
The `growlnotify` executable must be installed manually or by using<br><br>(growl.info/downloads) executable.<br>(growl.info) through the
This gem is available for OS X and sends system notifications to<br><br>(github.com/visionmedia/growl) gem.
System notifications using the

def _check_available(_opts = {})

def _check_available(_opts = {})
  fail UnavailableError, INSTALL_GROWLNOTIFY unless ::Growl.installed?
end

def _perform_notify(message, opts = {})

Options Hash: (**opts)
  • password (String) -- the password used for remote
  • host (String) -- the hostname or IP address to which to
  • priority (String, Integer) -- specify an int or named key
  • sticky (Boolean) -- make the notification sticky
  • image (String) -- the path to the notification image
  • title (String) -- the notification title
  • type (String) -- the notification type. Either 'success',

Parameters:
  • opts (Hash) -- additional notification library options
  • message (String) -- the notification message body
def _perform_notify(message, opts = {})
  opts = { name: "Notiffany" }.merge(opts)
  opts.select! { |k, _| ::Growl::Base.switches.include?(k) }
  ::Growl.notify(message, opts)
end

def _supported_hosts

def _supported_hosts
  %w(darwin)
end