Method deprecated or moved
This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
load(initializer)
public
Evaluates a plugin’s init.rb file.
# File railties/lib/rails/plugin.rb, line 45
def load(initializer)
return if loaded?
report_nonexistant_or_empty_plugin! unless valid?
evaluate_init_rb(initializer)
@loaded = true
end