From: Dave Thomas Date: 2000-09-07T14:36:52+09:00 Subject: [ruby-talk:4817] Re: Some questions matz@zetabits.com (Yukihiro Matsumoto) writes: > Hi, > > In message "[ruby-talk:4809] Some questions" > on 00/09/07, Friedrich Dominicus writes: > > |- is there a reason why there isn't a each_index in String? > > Because String is not a indexed container. You can use > each_with_index instead. I'm nervous about jumping in here, Matz, but they do look like indexed containers from the outside. Is there any reason not to have #each_index as part of Enumerable? Regards Dave