Class: Ninny::Commands::StagingBranch
- Inherits:
-
OutputDatedBranch
- Object
- Ninny::Command
- OutputDatedBranch
- Ninny::Commands::StagingBranch
- Defined in:
- lib/ninny/commands/staging_branch.rb
Instance Attribute Summary
Attributes inherited from OutputDatedBranch
Instance Method Summary collapse
-
#initialize(options) ⇒ StagingBranch
constructor
A new instance of StagingBranch.
Methods inherited from OutputDatedBranch
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() super @branch_type = Git::STAGING_PREFIX end |