Ruby Growl Notifications
A Beta of the Ruby growl gem is now available at http://github.com/visionmedia/growl. A 'growl notification' is simply an unobtrusive notification which displays on the users screen like below:

Mac applications commonly use growlnotify in order to achieve these results, allowing customization of the visuals through the System Preferences panel.
Features
- Check availability with Growl#installed?
- Check dependencies with Growl#version returning the binary's version
- Use images, icon paths, application icons, or file format icons
- Sticky a notification making it appear until explicitly closed
- Set notification priority
- Etc (consult growlnotify —help)
Notification Examples
notification = Growl.new
notification.message = 'Hello World'
notification.sticky!
notification.icon = :jpeg
notification.run
# OR
Growl {
self.message = 'Hello World'
self.icon = :jpeg
sticky!
}
# OR
Growl do |n|
n.message = 'Hello World'
n.icon = :jpeg
n.stick!
end
# OR
Growl :message => 'Invoked via Growl with hash', :icon => 'jpeg', :title => 'GrowlCommunity Usage
One of our most popular gems Commander utilizes the growl notifications gem to effectively notify users of events using #notify, #notify_error, #notify_warning etc.
Bookmark/Search this post with:
Delicious
Digg
StumbleUpon
Reddit
Facebook