lib/libnotify.rb in libnotify-0.9.3 vs lib/libnotify.rb in libnotify-0.9.4
- old
+ new
@@ -5,11 +5,10 @@
#
# See README.md for usage examples.
#
# @see README.md
# @see Libnotify.new
-# @author Peter Suschlik
module Libnotify
# Creates a notification.
#
# @example Block syntax
# n = Libnotify.new do |notify|
@@ -54,17 +53,17 @@
#
# @yield [notify] passes the notification object
# @yieldparam [API] notify the notification object
#
# @return [API] the notification object
- def self.new(options={}, &block)
+ def self.new(options = {}, &block)
API.new(options, &block)
end
# Shows a notification. It takes the same +options+ as Libnotify.new.
#
# @see Libnotify.new
- def self.show(options={}, &block)
+ def self.show(options = {}, &block)
API.show(options, &block)
end
# Exposes a list of icon directories to resolve `icon_path`.
#