aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2009-11-24 19:37:10 -0800
committerJeremy Kemper <jeremy@bitsweat.net>2009-11-28 12:50:09 -0800
commit02893d17053123cbf02b65c2fe549421c11a2604 (patch)
tree54ca314de0a0d3f26f3662b19ee37e987a5ac16a /activesupport
parentddf681ce1d3e71aef913dd7f94c60b7622523f8b (diff)
downloadrails-02893d17053123cbf02b65c2fe549421c11a2604.tar.gz
rails-02893d17053123cbf02b65c2fe549421c11a2604.tar.bz2
rails-02893d17053123cbf02b65c2fe549421c11a2604.zip
Remark that Listener is an implementation detail
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