Class: Papa::Command::Git::Pull

Inherits:
Base
  • Object
show all
Defined in:
lib/papa/command/git/pull.rb

Instance Attribute Summary

Attributes inherited from Base

#command, #exit_status, #silent, #stderr, #stdout

Instance Method Summary collapse

Methods inherited from Base

#cleanup, #failed?, #failure_message, #run, #success?

Constructor Details

#initialize(remote, branch_name) ⇒ Pull

Returns a new instance of Pull.



7
8
9
10
# File 'lib/papa/command/git/pull.rb', line 7

def initialize(remote, branch_name)
  command = "git pull #{remote} #{branch_name}"
  super(command)
end