From 02893d17053123cbf02b65c2fe549421c11a2604 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Tue, 24 Nov 2009 19:37:10 -0800 Subject: Remark that Listener is an implementation detail --- activesupport/lib/active_support/notifications.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/notifications.rb') 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 -- cgit v1.2.3