instance method
run_install_hook
Ruby on Rails 3.1.12
Since v2.2.3 Last seen in v3.2.22.5 PrivateSignature
run_install_hook()
No documentation comment.
Source
# File railties/lib/rails/commands/plugin.rb, line 195
def run_install_hook
install_hook_file = "#{rails_env.root}/vendor/plugins/#{name}/install.rb"
load install_hook_file if File.exist? install_hook_file
end
Defined in railties/lib/rails/commands/plugin.rb line 195
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Plugin