mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
push the autoloads up to requires
This commit is contained in:
parent
0a12a5f816
commit
60736fec53
1 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
require 'active_support/notifications/instrumenter'
|
||||
require 'active_support/notifications/instrumenter'
|
||||
require 'active_support/notifications/fanout'
|
||||
|
||||
module ActiveSupport
|
||||
# = Notifications
|
||||
#
|
||||
|
@ -105,10 +109,6 @@ module ActiveSupport
|
|||
# to log subscribers in a thread. You can use any queue implementation you want.
|
||||
#
|
||||
module Notifications
|
||||
autoload :Instrumenter, 'active_support/notifications/instrumenter'
|
||||
autoload :Event, 'active_support/notifications/instrumenter'
|
||||
autoload :Fanout, 'active_support/notifications/fanout'
|
||||
|
||||
@instrumenters = Hash.new { |h,k| h[k] = notifier.listening?(k) }
|
||||
|
||||
class << self
|
||||
|
|
Loading…
Reference in a new issue