Class: OctoMerge::Strategy::MergeWithoutRebase
- Defined in:
- lib/octo_merge/strategy/merge_without_rebase.rb
Instance Attribute Summary
Attributes inherited from Base
#pull_requests, #working_directory
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from OctoMerge::Strategy::Base
Instance Method Details
#run ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/octo_merge/strategy/merge_without_rebase.rb', line 4 def run fetch_master pull_requests.each do |pull_request| fetch(pull_request) merge(pull_request) git.delete_branch(pull_request.number_branch) end end |