Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Why isn't Enumerable in StringIO?

Reply
Thread Tools

Why isn't Enumerable in StringIO?

 
 
Jason Creighton
Guest
Posts: n/a
 
      07-25-2003
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
 
Reply With Quote
 
 
 
 
nobu.nokada@softhome.net
Guest
Posts: n/a
 
      07-26-2003
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Why Enumerable adds "replace" method? IƱaki Baz Castillo Ruby 2 02-23-2009 07:47 PM
why why why why why Mr. SweatyFinger ASP .Net 4 12-21-2006 01:15 PM
findcontrol("PlaceHolderPrice") why why why why why why why why why why why Mr. SweatyFinger ASP .Net 2 12-02-2006 03:46 PM
Enumerable methods returning Enumerable (was: ruby-dev suumary 26862-26956) Daniel Sheppard Ruby 0 09-16-2005 02:40 AM
Support for arbitrary iterators in Enumerable? Pierre-Charles David Ruby 2 11-20-2003 02:34 PM



Advertisments