Sha256: 490a3630fe40ceb3964fb1be8ea6fd8e438ac5b9aae2c1738e01ba631c2023ed

Contents?: true

Size: 290 Bytes

Versions: 3

Compression:

Stored size: 290 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

3 entries across 3 versions & 1 rubygems

Version Path
git_wrapper-1.0.2 lib/git_wrapper/commands/fetch.rb
git_wrapper-1.0.1 lib/git_wrapper/commands/fetch.rb
git_wrapper-1.0.0 lib/git_wrapper/commands/fetch.rb