Class: Papa::Command::Git::Fetch
- Defined in:
- lib/papa/command/git/fetch.rb
Instance Attribute Summary
Attributes inherited from Base
#command, #exit_status, #silent, #stderr, #stdout
Instance Method Summary collapse
- #failure_message ⇒ Object
-
#initialize(remote) ⇒ Fetch
constructor
A new instance of Fetch.
Methods inherited from Base
#cleanup, #failed?, #run, #success?
Constructor Details
#initialize(remote) ⇒ Fetch
Returns a new instance of Fetch.
7 8 9 10 11 |
# File 'lib/papa/command/git/fetch.rb', line 7 def initialize(remote) @remote = remote command = "git fetch #{remote}" super(command) end |