instance method run_install_hook

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v3.2.22.5 Private

Available in: v2.2.3 v2.3.18 v3.0.20 v3.1.12 v3.2.22.5

Signature

run_install_hook()

No documentation comment.

Source
# File railties/lib/commands/plugin.rb, line 233
    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/commands/plugin.rb line 233 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Plugin

Type at least 2 characters to search.

↑↓ navigate · open · esc close