Skip to content
This repository
Browse code

push the autoloads up to requires

  • Loading branch information...
commit 60736fec5397c331cc8791b884f3579ef29f4f09 1 parent 0a12a5f
Aaron Patterson authored March 21, 2012
8  activesupport/lib/active_support/notifications.rb
... ...
@@ -1,3 +1,7 @@
  1
+require 'active_support/notifications/instrumenter'
  2
+require 'active_support/notifications/instrumenter'
  3
+require 'active_support/notifications/fanout'
  4
+
1 5
 module ActiveSupport
2 6
   # = Notifications
3 7
   #
@@ -105,10 +109,6 @@ module ActiveSupport
105 109
   # to log subscribers in a thread. You can use any queue implementation you want.
106 110
   #
107 111
   module Notifications
108  
-    autoload :Instrumenter, 'active_support/notifications/instrumenter'
109  
-    autoload :Event, 'active_support/notifications/instrumenter'
110  
-    autoload :Fanout, 'active_support/notifications/fanout'
111  
-
112 112
     @instrumenters = Hash.new { |h,k| h[k] = notifier.listening?(k) }
113 113
 
114 114
     class << self

0 notes on commit 60736fe

Please sign in to comment.
Something went wrong with that request. Please try again.