Permalink
Browse files

AS::Subscriber is not a LogSubscriber

  • Loading branch information...
1 parent 300d6b5 commit 048b436f33059f1da7659edf9ca05fb46042b253 Carlhuda committed Mar 1, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/notifications/fanout.rb
@@ -12,7 +12,7 @@ def bind(pattern)
end
def subscribe(pattern = nil, &block)
- @log_subscribers << LogSubscriber.new(pattern, &block)
+ @log_subscribers << Subscriber.new(pattern, &block)
end
def publish(*args)
@@ -41,7 +41,7 @@ def subscribe(&block)
end
end
- class LogSubscriber #:nodoc:
+ class Subscriber #:nodoc:
def initialize(pattern, &block)
@pattern = pattern
@block = block

0 comments on commit 048b436

Please sign in to comment.