method
run_load_hooks!
v6.1.3.1 -
Show latest stable
- Class:
Rails::Application
run_load_hooks!()public
No documentation available.
# File railties/lib/rails/application.rb, line 153
def run_load_hooks! # :nodoc:
return self if @ran_load_hooks
@ran_load_hooks = true
@initial_variable_values.each do |variable_name, value|
if INITIAL_VARIABLES.include?(variable_name)
instance_variable_set("@#{variable_name}", value)
end
end
instance_eval(&@block) if @block
self
end