Module Guard::Notifier
In: lib/guard/notifier.rb

The notifier class handles cross-platform system notifications that supports:

Methods

enabled?   notify   turn_off   turn_on  

Constants

APPLICATION_NAME = "Guard"   Application name as shown in the specific notification settings

Attributes

gntp  [RW] 
growl_library  [RW] 

Public Class methods

Test if the notifications are enabled and available.

@return [Boolean] whether the notifications are available

Show a message with the system notification.

@see .image_path

@param [String] the message to show @option options [Symbol, String] image the image symbol or path to an image @option options [String] title the notification title

Turn notifications off.

Turn notifications on. This tries to load the platform specific notification library.

@return [Boolean] whether the notification could be enabled.

[Validate]