From: Todd Benson Date: 2008-11-20T13:45:04+09:00 Subject: Re: Is there another method like .next? On Wed, Nov 19, 2008 at 10:21 PM, Michael W. Ryder <_mwryder@worldnet.att.net> wrote: > Todd Benson wrote: >> >> On Wed, Nov 19, 2008 at 7:41 PM, Michael W. Ryder >> <_mwryder@worldnet.att.net> wrote: >>> >>> I was looking for a way to iterate through the ascii values >> >> For classic printables... >> >> (32...128).map {|int| int.chr} >> > I think this should be (32...127).map as 128 is the not printable. Thanks for the correction :) Actually, it's the 127 that's not printable, but who's counting. Todd