From: Cheyne Li Date: 2008-05-14T01:21:30+09:00 Subject: Re: Problem with files comparing Dave Thomas wrote: > On May 12, 2008, at 5:29 PM, Cheyne Li wrote: >> I tried put them in a class, and tested, but it kept throwing me the >> error message. The code and error message are in the following: > > > 1. It's relatively unusual to create instances of a class inside the > class body, but that won't cause this problem > > 2. Where do you define the 'compare' method? > > > Dave compare is a std mathod in ftools.rb -- Posted via http://www.ruby-forum.com/.