method

run_load_hooks

rails latest stable - Class: ActiveSupport

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

run_load_hooks(name, base = Object)
public

No documentation available.

# File activesupport/lib/active_support/lazy_load_hooks.rb, line 42
  def self.run_load_hooks(name, base = Object)
    @loaded[name] << base
    @load_hooks[name].each do |hook, options|
      execute_hook(base, options, hook)
    end
  end