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.
185 186 187 |
# File 'lib/build-tool/command_actions.rb', line 185 def initialize( command, mod ) super( command, 40, :configure, mod ) end |
Instance Method Details
#execute ⇒ Object
189 190 191 192 193 194 195 |
# File 'lib/build-tool/command_actions.rb', line 189 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 |