Class: BuildTool::ModuleActions::Rebase
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod) ⇒ Rebase
constructor
A new instance of Rebase.
Methods inherited from Base
Constructor Details
#initialize(command, mod) ⇒ Rebase
Returns a new instance of Rebase.
191 192 193 194 195 196 197 |
# File 'lib/build-tool/command_actions.rb', line 191 def initialize( command, mod ) super( command, 20, :rebase, mod ) if !mod.vcs_required.fetching_supported? logger.info "Fetching not supported by vcs #{mod.vcs.name}. Doing nothing." return end end |
Instance Method Details
#execute ⇒ Object
199 200 201 202 |
# File 'lib/build-tool/command_actions.rb', line 199 def execute() logger.info "Rebasing" @module.rebase end |