aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/notifications
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/notifications')
-rw-r--r--activesupport/lib/active_support/notifications/fanout.rb4
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