gabynaiman/git_wrapper

View on GitHub
lib/git_wrapper/commands/pull.rb

Summary

Maintainability
A
0 mins
Test Coverage
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