class GitPlus::Commands::Fetch
A Git fetch command wrapper.
Public Class Methods
new(shell: Open3)
click to toggle source
# File lib/git_plus/commands/fetch.rb, line 9 def initialize shell: Open3 @shell = shell end
Public Instance Methods
call(*arguments)
click to toggle source
# File lib/git_plus/commands/fetch.rb, line 13 def call(*arguments) = shell.capture3("git", "fetch", *arguments) private attr_reader :shell end