Sha256: 748dbb010fe94bf6f34bd36592159bc29ab8054edfd94e9d6bed51f52beb9b85

Contents?: true

Size: 289 Bytes

Versions: 4

Compression:

Stored size: 289 Bytes

Contents

module GitWrapper
  module Commands
    class Pull < Git

      def remote(remote)
        @remote = remote
        self
      end

      def branch(branch)
        @branch = branch
        self
      end

      def command
        "pull #{@remote} #{@branch}"
      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/pull.rb
git_wrapper-1.1.1 lib/git_wrapper/commands/pull.rb
git_wrapper-1.1.0 lib/git_wrapper/commands/pull.rb
git_wrapper-1.0.3 lib/git_wrapper/commands/pull.rb