Class: Ninny::Commands::StagingBranch

Inherits:
OutputDatedBranch show all
Defined in:
lib/ninny/commands/staging_branch.rb

Instance Attribute Summary

Attributes inherited from OutputDatedBranch

#branch_type

Instance Method Summary collapse

Methods inherited from OutputDatedBranch

#execute

Methods inherited from Ninny::Command

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

Constructor Details

#initialize(options) ⇒ StagingBranch

Returns a new instance of StagingBranch.



8
9
10
11
# File 'lib/ninny/commands/staging_branch.rb', line 8

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