Subject: Re: HT compare files in Ruby?...
From: Joel VanderWerf <vjoel PATH.Berkeley.EDU>
Date: Fri, 16 Jan 2004 08:31:17 +0900
References: 89969
In-reply-to: 89969
Kurt Euler wrote:
> 1) If there is a Ruby (boolean?) method that will compare the contents of
> two files and return indication as to whether or not their contents are
> identical?
require 'ftools'
File.cmp('f1', 'f2')