Sha256: 7ce5bf85a4472ac2f4400adbb4398c552ce69ec5ace8b23066699a9b1e3e9037

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

module GitWrapper
  module Commands
    class Fetch < Git

      def remote(remote)
        @remote = remote
        self
      end

      def all
        @remote = '--all'
        self
      end

      def command
        "fetch #{@remote}"
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
git_wrapper-1.1.2 lib/git_wrapper/commands/fetch.rb
git_wrapper-1.1.1 lib/git_wrapper/commands/fetch.rb
git_wrapper-1.1.0 lib/git_wrapper/commands/fetch.rb
git_wrapper-1.0.3 lib/git_wrapper/commands/fetch.rb