Skip to content

Commit

Permalink
Update RUby binding doc with current options.
Browse files Browse the repository at this point in the history
  • Loading branch information
alloy committed Aug 24, 2013
1 parent 8f50ccd commit 3b6e584
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Ruby/lib/terminal-notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ def self.execute(verbose, options)

# Sends a User Notification and returns wether or not it was a success.
#
# The available options are `:title`, `:group`, `:activate`, `:open`, and
# `:execute`. For a description of each option see:
# The available options are `:title`, `:group`, `:activate`, `:open`,
# `:execute`, `:sender`, and `:sound`. For a description of each option see:
#
# https://github.com/alloy/terminal-notifier/blob/master/README.markdown
#
Expand All @@ -40,6 +40,8 @@ def self.execute(verbose, options)
# TerminalNotifier.notify('Hello World', :activate => 'com.apple.Safari')
# TerminalNotifier.notify('Hello World', :open => 'http://twitter.com/alloy')
# TerminalNotifier.notify('Hello World', :execute => 'say "OMG"')
# TerminalNotifier.notify('Hello World', :sender => 'com.apple.Safari')
# TerminalNotifier.notify('Hello World', :sound => 'default')
#
# Raises if not supported on the current platform.
def notify(message, options = {}, verbose = false)
Expand Down

0 comments on commit 3b6e584

Please sign in to comment.