From: John Carter Date: 2005-02-16T12:21:41+09:00 Subject: Re: Ruby Source code checker On Tue, 15 Feb 2005, Michael Gebhart wrote: > currently I am doing my first steps with ruby. It's really great, but > sometimes I'm doing some very stupid mistakes Make an absolute habit of using ruby -w And during the development phase, ruby -wd is helpful. Also create unit tests. They are a great idea. grep -n test/unit /usr/lib/ruby/1.8/*.rb will get you a list of examples to follow. See /usr/lib/ruby/1.8/test/unit.rb for documentation. John Carter Phone : (64)(3) 358 6639 Tait Electronics Fax : (64)(3) 359 4632 PO Box 1645 Christchurch Email : john.carter@tait.co.nz New Zealand Refactorers do it a little better every time.