aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/notifications.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index 09b1aa1713..316d80e064 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -163,7 +163,8 @@ module ActiveSupport
@listeners.all? &:drained?
end
- class Listener
+ # Used for internal implementation only.
+ class Listener #:nodoc:
def initialize(pattern, &block)
@pattern = pattern
@subscriber = block