diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-03-01 15:54:45 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2010-03-01 17:45:37 -0800 |
commit | 048b436f33059f1da7659edf9ca05fb46042b253 (patch) | |
tree | 3d52717dbc91ac51a263732ca4426d32199b4c4a /activesupport/lib/active_support/notifications | |
parent | 300d6b549d020cbfaa10657f07a22ec892d8078f (diff) | |
download | rails-048b436f33059f1da7659edf9ca05fb46042b253.tar.gz rails-048b436f33059f1da7659edf9ca05fb46042b253.tar.bz2 rails-048b436f33059f1da7659edf9ca05fb46042b253.zip |
AS::Subscriber is not a LogSubscriber
Diffstat (limited to 'activesupport/lib/active_support/notifications')
-rw-r--r-- | activesupport/lib/active_support/notifications/fanout.rb | 4 |
1 files 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 |