Module: GitWorkflow::Callbacks::Styles::Mine::StartBehaviour

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

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



17
18
19
20
21
# File 'lib/git_workflow/callbacks/styles/mine.rb', line 17

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

Instance Method Details

#start(story, source) ⇒ Object



23
24
25
# File 'lib/git_workflow/callbacks/styles/mine.rb', line 23

def start(story, source)
  checkout_or_create_branch(story.branch_name, source)
end