From: Jan Pilz Date: 2008-09-08T14:59:08+09:00 Subject: Re: Newb question Try p 2.times {|i| puts "Number:#{i}"} u will see the last line is the returncode of i from the last loop Rong schrieb: > Why does this > > p 3.times {|i| puts i} > > produce > > 0 > 1 > 2 > 3 > > ????? > > -- Otto Software Partner GmbH Jan Pilz (e-mail: Jan.Pilz@osp-dd.de) Tel. 0351/49723202, Fax: 0351/49723119 01067 Dresden, Freiberger Stra�e 35 - AG Dresden, HRB 2475 Gesch�ftsf�hrer: Burkhard Arrenberg, Heinz A. Bade, Jens Gruhl