Skip to content

jugyo/notify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notify

"Notify" provides notification functionalities on cross platforms.

Feature

Notify supports the following features:

  • growl
  • notify-send
  • Growl for Windows (ruby_gntp)
  • libnotify
  • Mountain Lion Notification Center (terminal-notifier)

Installation

gem install notify

Usage

require 'notify'
Notify.notify "title", "message"

or

ENV['NOTIFY'] = 'growlnotify'
require 'notify'
Notify.notify "title", "message"

Notify also allows passing in an app name to replace the default "ruby":

require 'notify'
Notify.notify "title", "message", { app_name: "My App" }

Command

% notify title messages

Copyright

Copyright (c) 2010 jugyo. See LICENSE for details.

About

The notification function for many platforms.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages