First baseman/outfielder Darin Ruf agreed to a one-year contract with the Milwaukee Brewers on Monday, two days after he elected free agency rather than accept an outright assignment to the minor leagues with the San Francisco Giants.