Sha256: 9774550124581dc5994f52a6323c640fceb01b43b8b09a90edc47867e379f540

Contents?: true

Size: 309 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

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