-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Type is documented in several places as being a string:
# @option opts [String] type the notification type. Either 'success', # @option opts [String] type the notification type. Either 'success', notiffany/lib/notiffany/notifier/emacs.rb
Line 56 in 0618490
# @param [String] type the notification type. Either 'success', # @option opts [String] type the notification type. Either 'success', notiffany/lib/notiffany/notifier/file.rb
Line 25 in 0618490
# @option opts [String] type the notification type. Either 'success', notiffany/lib/notiffany/notifier/tmux.rb
Line 215 in 0618490
# @option options [String] type the notification type. Either 'success', # @option opts [String] type the notification type. Either 'success', # @option opts [String] type the notification type. Either 'success', notiffany/lib/notiffany/notifier/gntp.rb
Line 45 in 0618490
# @option opts [String] type the notification type. Either 'success',
And sometimes referenced as a string:
urgency: opts[:urgency] || (opts[:type] == "failed" ? :normal : :low) |
Whenver I snoop on the values of type, they look like a symbol though. You may wish to update the docs and tweak that libnotify priority switch if they're intended to always be symbols.
Metadata
Metadata
Assignees
Labels
No labels