[Nitro] Better than classinherit.rb!

TRANS transfire at gmail.com
Mon Apr 10 19:59:30 EDT 2006


On 4/10/06, Bryan Soto <bryan.a.soto at gmail.com> wrote:
> On 4/10/06, TRANS <transfire at gmail.com> wrote:
> > So what if we just call this new method #is?
> >
>
> Isn't #is already used as an alias to include?

Exactly. Notice that the heart of 'interlude' is include. It just adds
the class-level methods too IF ANY. This makes the inheritance of
modules equivalent to that of classes.

T.




More information about the Nitro-general mailing list