From 048b436f33059f1da7659edf9ca05fb46042b253 Mon Sep 17 00:00:00 2001 From: Carlhuda Date: Mon, 1 Mar 2010 15:54:45 -0800 Subject: AS::Subscriber is not a LogSubscriber --- activesupport/lib/active_support/notifications/fanout.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/activesupport/lib/active_support/notifications/fanout.rb b/activesupport/lib/active_support/notifications/fanout.rb index 05de4946a5..090eb1eac6 100644 --- a/activesupport/lib/active_support/notifications/fanout.rb +++ b/activesupport/lib/active_support/notifications/fanout.rb @@ -12,7 +12,7 @@ module ActiveSupport 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 @@ module ActiveSupport end end - class LogSubscriber #:nodoc: + class Subscriber #:nodoc: def initialize(pattern, &block) @pattern = pattern @block = block -- cgit v1.2.3