module ActiveSupport::LazyLoadHooks
def self.extended(base) # :nodoc:
def self.extended(base) # :nodoc: base.class_eval do @load_hooks = Hash.new { |h, k| h[k] = [] } @loaded = Hash.new { |h, k| h[k] = [] } @run_once = Hash.new { |h, k| h[k] = [] } end end