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:
parent
ddf681ce1d
commit
02893d1705
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue