Class: Rexer::Extension::Plugin::Install
- Defined in:
- lib/rexer/extension/plugin/install.rb
Instance Method Summary collapse
Methods inherited from Action
Constructor Details
This class inherits a constructor from Rexer::Extension::Plugin::Action
Instance Method Details
#call ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/rexer/extension/plugin/install.rb', line 5 def call broadcast(:started, "Install #{plugin.name}") if plugin.exist? broadcast(:skipped, "Already exists") return end load_from_source run_bundle_install run_db_migrate call_installed_hook broadcast(:completed) end |