Class: BuildTool::ModuleActions::Rebase
- Defined in:
- lib/build-tool/command_actions.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(command, mod, verbose) ⇒ Rebase
constructor
A new instance of Rebase.
Methods inherited from Base
Constructor Details
#initialize(command, mod, verbose) ⇒ Rebase
Returns a new instance of Rebase.
136 137 138 139 140 141 142 |
# File 'lib/build-tool/command_actions.rb', line 136 def initialize( command, mod, verbose ) super( command, 20, :rebase, mod ) @verbose = verbose if !mod.vcs_required.fetching_supported? logger.info "Fetching not supported by vcs #{mod.vcs.name}. Doing nothing." end end |
Instance Method Details
#execute ⇒ Object
144 145 146 147 |
# File 'lib/build-tool/command_actions.rb', line 144 def execute() logger.info "Rebasing" @module.rebase( @verbose ) end |