lib/keikokuc/notification.rb in keikokuc-0.0.2 vs lib/keikokuc/notification.rb in keikokuc-0.0.3
- old
+ new
@@ -31,10 +31,10 @@
#
# All keys on matching ATTRS will be set
def initialize(opts = {})
ATTRS.each do |attribute|
if opts.has_key?(attribute.to_sym)
- send("#{attribute}=", opts[attribute])
+ send("#{attribute}=", opts[attribute.to_sym])
end
end
end
# Public: publishes this notification to keikoku