class method
self.run_load_hooks
Ruby on Rails 3.1.12
Since v3.0.20 Last seen in v4.2.9Signature
self.run_load_hooks(name, base = Object)
No documentation comment.
Parameters
-
namereq -
baseopt = Object
Source
# File activesupport/lib/active_support/lazy_load_hooks.rb, line 40
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
Defined in activesupport/lib/active_support/lazy_load_hooks.rb line 40
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport