1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remark that Listener is an implementation detail

This commit is contained in:
Jeremy Kemper 2009-11-24 19:37:10 -08:00
parent ddf681ce1d
commit 02893d1705

View file

@ -163,7 +163,8 @@ module ActiveSupport
@listeners.all? &:drained? @listeners.all? &:drained?
end end
class Listener # Used for internal implementation only.
class Listener #:nodoc:
def initialize(pattern, &block) def initialize(pattern, &block)
@pattern = pattern @pattern = pattern
@subscriber = block @subscriber = block