Why isn't Enumerable in StringIO?

Discussion in 'Ruby' started by Jason Creighton, Jul 25, 2003.

  1. 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
    Jason Creighton, Jul 25, 2003
    #1
    1. Advertising

  2. Jason Creighton

    Guest

    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
    , Jul 26, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Skip Montanaro
    Replies:
    0
    Views:
    143
    Skip Montanaro
    May 30, 2013
  2. Cameron Simpson
    Replies:
    0
    Views:
    86
    Cameron Simpson
    May 31, 2013
  3. Göktuğ Kayaalp
    Replies:
    0
    Views:
    107
    Göktuğ Kayaalp
    May 31, 2013
  4. Skip Montanaro
    Replies:
    0
    Views:
    102
    Skip Montanaro
    May 31, 2013
  5. Serhiy Storchaka
    Replies:
    0
    Views:
    73
    Serhiy Storchaka
    May 31, 2013
Loading...

Share This Page