Module: GitWorkflow::Callbacks::Styles::Default::StartBehaviour
- Defined in:
- lib/git_workflow/callbacks/styles/default.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(base) ⇒ Object
15 16 17 18 19 |
# File 'lib/git_workflow/callbacks/styles/default.rb', line 15 def self.included(base) base.instance_eval do include GitWorkflow::Callbacks::PivotalTrackerSupport end end |
Instance Method Details
#start(story, source) ⇒ Object
21 22 23 |
# File 'lib/git_workflow/callbacks/styles/default.rb', line 21 def start(story, source) checkout_or_create_branch(story.branch_name, source) end |