Module: GitWorkflow::Callbacks::Styles::Default::FinishBehaviour

Defined in:
lib/git_workflow/callbacks/styles/default.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



27
28
29
30
31
# File 'lib/git_workflow/callbacks/styles/default.rb', line 27

def self.included(base)
  base.instance_eval do
    include GitWorkflow::Callbacks::PivotalTrackerSupport
  end
end

Instance Method Details

#finish(story, branch_name) ⇒ Object



33
34
35
36
37
# File 'lib/git_workflow/callbacks/styles/default.rb', line 33

def finish(story, branch_name)
  in_git_branch(branch_name) do
    merge_branch(story.branch_name, branch_name)
  end
end