From: Massimiliano Mirra Date: 2002-03-26T07:50:04+09:00 Subject: Re: initialization problem? On Tue, Mar 26, 2002 at 05:19:24AM +0900, Hubert Hung-Hsien Chang wrote: > > (3,2)(3,4) # this, I know. > > 3 #this output confused me. > 2 > 3 > 4 With: > puts Hole.new().be([[3,2],[3,4]]) ...you are printing the result from be([[3,2],[3,4]]). Since be() returns that array (because it's the last thing evaluated) that's what puts is printing. Massimiliano