diff --git a/Ruby/lib/terminal-notifier.rb b/Ruby/lib/terminal-notifier.rb index 32fe7e0..c1d2780 100644 --- a/Ruby/lib/terminal-notifier.rb +++ b/Ruby/lib/terminal-notifier.rb @@ -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 # @@ -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)