From: KDr2 Date: 2006-11-25T04:52:41+09:00 Subject: Re: Shortening this expression ? Zouplaz writes: like this ? : (2003..Time.now.year).to_a > Hello, I don't like the verbosity of these two lines > > years = Array.new > 2003.step(Time.now.year) { |a| years << a } > > I would like to populate the year array on one statement but I don't know how > > Thanks in advance -- For some reasons,my EMail had been changed to "kdr2[#]163.com" now... NO GNUS is Bad News. ------yours Killy Draw