Class: Ninny::Commands::NewStaging

Inherits:
CreateDatedBranch show all
Defined in:
lib/ninny/commands/new_staging.rb

Instance Attribute Summary

Attributes inherited from CreateDatedBranch

#branch_type, #should_delete_old_branches

Instance Method Summary collapse

Methods inherited from CreateDatedBranch

#branch_name, #create_branch, #date_suffix, #delete_old_branches, #execute, #extra_branches, #with_branch_type

Methods inherited from Ninny::Command

#command, #cursor, #editor, #exec_exist?, #execute, #generator, #pager, #platform, #prompt, #screen, #which

Constructor Details

#initialize(options) ⇒ NewStaging

Returns a new instance of NewStaging.



6
7
8
9
# File 'lib/ninny/commands/new_staging.rb', line 6

def initialize(options)
  super
  @branch_type = Git::STAGING_PREFIX
end