Method: ActiveSupport::LazyLoadHooks#run_load_hooks

Defined in:
lib/active_support/lazy_load_hooks.rb

#run_load_hooks(name, base = Object) ⇒ Object



49
50
51
52
53
54
# File 'lib/active_support/lazy_load_hooks.rb', line 49

def run_load_hooks(name, base = Object)
  @loaded[name] << base
  @load_hooks[name].each do |hook, options|
    execute_hook(name, base, options, hook)
  end
end