Permalink
Browse files

Irrelephant.

  • Loading branch information...
jbarnette committed Mar 8, 2012
1 parent 3737059 commit 80e044c262853cae09854f6a96835e5823750c2a
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/watchable.rb
View
@@ -4,8 +4,8 @@ def watchers
end
def fire event, *args
- watchers[event].each { |w| w && w.call(*args) }
- watchers[:all].each { |w| w && w.call(event, *args) }
+ watchers[event].each { |w| w.call *args }
+ watchers[:all].each { |w| w.call event, *args }
self
end

0 comments on commit 80e044c

Please sign in to comment.