Class: Ninny::Commands::StageUp
- Inherits:
-
PullRequestMerge
- Object
- Ninny::Command
- PullRequestMerge
- Ninny::Commands::StageUp
- Defined in:
- lib/ninny/commands/stage_up.rb
Instance Attribute Summary
Attributes inherited from PullRequestMerge
#branch_type, #options, #pull_request, #pull_request_id, #username
Instance Method Summary collapse
-
#initialize(pull_request_id, options) ⇒ StageUp
constructor
A new instance of StageUp.
Methods inherited from PullRequestMerge
#branch_to_merge_into, #check_out_branch, #comment_about_merge, #comment_body, #determine_local_user, #execute, #merge_pull_request
Methods inherited from Ninny::Command
#command, #cursor, #editor, #exec_exist?, #execute, #generator, #pager, #platform, #prompt, #screen, #which
Constructor Details
#initialize(pull_request_id, options) ⇒ StageUp
Returns a new instance of StageUp.
9 10 11 12 13 |
# File 'lib/ninny/commands/stage_up.rb', line 9 def initialize(pull_request_id, ) super @branch_type = Ninny::Git::STAGING_PREFIX @username = [:username] end |