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

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

Defined Under Namespace

Modules: FinishBehaviour, StartBehaviour

Class Method Summary collapse

Class Method Details

.setup(start_class = GitWorkflow::Commands::Start, finish_class = GitWorkflow::Commands::Finish) ⇒ Object



9
10
11
12
# File 'lib/git_workflow/callbacks/styles/default.rb', line 9

def self.setup(start_class = GitWorkflow::Commands::Start, finish_class = GitWorkflow::Commands::Finish)
  start_class.send(:include, StartBehaviour)
  finish_class.send(:include, FinishBehaviour)
end