From: "Peña, Botp" Date: 2005-04-14T10:40:44+09:00 Subject: Re: newbie question re: variable assignment Jacob Fugal [mailto:lukfugl@gmail.com] wrote: #Just to show one more way to do it (probably not the best #depending on your usage), the following works: # # "0123456789".each_byte { |c| puts c } indeed. better. much closer to ascii concept :-) kind regards -botp # #Don't want to type "0123456789"? Try: # # (0..9).to_a.join.each_byte { |c| puts c } # #Like I said, roundabout and not very efficient. But, #nonetheless, another "valid" approach :) # #Jacob Fugal #