Class: Octopolo::Scripts::NewStaging

Inherits:
Object
  • Object
show all
Includes:
CLIWrapper
Defined in:
lib/octopolo/scripts/new_staging.rb

Instance Attribute Summary

Attributes included from CLIWrapper

#cli

Instance Method Summary collapse

Instance Method Details

#execute(options = {:delete_old_branches => false}) ⇒ Object



9
10
11
# File 'lib/octopolo/scripts/new_staging.rb', line 9

def execute(options={:delete_old_branches => false})
  DatedBranchCreator.perform(Git::STAGING_PREFIX, options[:delete_old_branches])
end