Why isn't Enumerable in StringIO?

Hello,

~$ ruby -v
ruby 1.8.0 (2003-07-24) [i686-linux]
~$ ruby -e ‘p IO.included_modules’
[Enumerable, Kernel]
~$ ruby -rstringio -e ‘p StringIO.included_modules’
[Kernel]

Is there any reason why StringIO doesn’t mixin Enumerable, or is this a
bug? I’m running Ruby-1.8.0-preview4.

Jason Creighton

Hi,

···

At Sat, 26 Jul 2003 13:23:48 +0900, Jason Creighton wrote:

Is there any reason why StringIO doesn’t mixin Enumerable, or is this a
bug? I’m running Ruby-1.8.0-preview4.

Just I forgot it. Thank you.


Nobu Nakada