Class: BuildTool::ModuleActions::Configure
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod) ⇒ Configure
constructor
A new instance of Configure.
Methods inherited from Base
Constructor Details
#initialize(command, mod) ⇒ Configure
Returns a new instance of Configure.
186 187 188 |
# File 'lib/build-tool/command_actions.rb', line 186 def initialize( command, mod ) super( command, 40, :configure, mod ) end |
Instance Method Details
#execute ⇒ Object
190 191 192 193 194 195 196 |
# File 'lib/build-tool/command_actions.rb', line 190 def execute() logger.info "Configuring" if !$noop and !@module.vcs_required.checkedout? raise ConfigurationError, "Module is not checked out. Enable updating." end @module.configure end |