From: David Vallner Date: 2006-01-17T05:58:53+09:00 Subject: Re: "Programming Ruby", ed. 2, P747. Script generated different image to book's example On Mon, 16 Jan 2006 21:29:55 +0100, Dave Thomas wrote: > > On Jan 15, 2006, at 11:21 AM, David Vallner wrote: > >> The bug was passing in literal arrays with one element, 0, or 1, to >> TkcLine::new. Using the whole 2D array at once looks nifty, it would >> indeed prevent that typo / slip of mind. > > > So, (he says, coming to the discussion late), what does this mean for > the code i the book? > > > Cheers > > > Dave > The code is fine, for a code example explicitness seems more important to me instead of showing off - that's for the Ruby/Tk documentation to explain. I suspect John McLean has a printed version of the book and made a blooper typing it into the computer. David Vallner