Class: BuildTool::ModuleActions::Install
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod, fast = false) ⇒ Install
constructor
A new instance of Install.
Methods inherited from Base
Constructor Details
#initialize(command, mod, fast = false) ⇒ Install
Returns a new instance of Install.
255 256 257 258 |
# File 'lib/build-tool/command_actions.rb', line 255 def initialize( command, mod, fast = false ) super( command, 60, :install, mod ) @fast = fast end |
Instance Method Details
#execute ⇒ Object
260 261 262 263 264 |
# File 'lib/build-tool/command_actions.rb', line 260 def execute() pb = Progressbar.new( "Install #{@fast ? 'fast' : '' }" ) do @module.build_system_required.install( @fast ) end end |