[#9722] Kernel#system broken inside Dir.chdir(&block) if system command doesn't have shell characters — <noreply@...>

Bugs item #7278, was opened at 2006-12-14 13:59

8 messages 2006/12/14

[#9749] System V IPC in standard library? — Steven Jenkins <steven.jenkins@...>

Back in August, I needed a semaphore to serialize access to an external

14 messages 2006/12/19

[#9753] CVS freeze — SASADA Koichi <ko1@...>

Hi,

20 messages 2006/12/20
[#9755] Re: [ruby-dev:30039] CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

[#9757] Re: [ruby-dev:30040] Re: CVS freeze — SASADA Koichi <ko1@...> 2006/12/20

Hi,

Re: ICLASS Node?

From: Julien Gaugaz <gaugaz@...3s.de>
Date: 2006-12-20 12:12:45 UTC
List: ruby-core #9761
Charles Thornton wrote:
> I have been looking at the nodes generated for a simple program.   It
> seems the when you include a module, or it is included as part of a
> built-in class, the node ICLASS  is constructed to interface with the
> Module?
>
> Can anyone give me a short discussion on what ICLASS is used for
> or doing in this case?
>
> Godfather
>
I'm a newbie so take my answer with care. I read in The Ruby Way from 
Hal Fulton (2nd ed) that when a module MyMod is mixed in a class 
MyClass, the module is actually inserted as a *direct* superclass of 
MyClass. So that if you define

class MyClass < MySuper
    include MyMod
end

Then at instantiation of MyClass you will actually have MyClass < MyMod 
and MyMod < MySuper.

Julien

In This Thread