Phlip wrote:
> str.each do |ch|

That'd be each_char, I suppose. String#each is each_line.

-- 
Jabber: sepp2k / jabber.org
ICQ: 205544826