File: README.md

package info (click to toggle)
ruby-notify 0.5.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: ruby: 112; makefile: 2
file content (47 lines) | stat: -rw-r--r-- 768 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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.