Skip to content

Commit

Permalink
push the autoloads up to requires
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Mar 21, 2012
1 parent 0a12a5f commit 60736fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions activesupport/lib/active_support/notifications.rb
@@ -1,3 +1,7 @@
require 'active_support/notifications/instrumenter'
require 'active_support/notifications/instrumenter'
require 'active_support/notifications/fanout'

module ActiveSupport
# = Notifications
#
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 60736fe

Please sign in to comment.