From: Florian Gross Date: 2004-11-11T22:38:29+09:00 Subject: Re: array.each restart when array is changed Kevin B�rgens wrote: > #show me the first n letters of the alphabet > ('a'...'a'+gets.to_i).each{|e| puts e } > > How to do it the right way? I would just do ('a' .. 'z').to_a.first(gets.to_i)