Why isn't Enumerable in StringIO?

J

Jason Creighton

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
 
N

nobu.nokada

Hi,

At Sat, 26 Jul 2003 13:23:48 +0900,
Jason said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top