Any reason for having no module exclusion functionality in R

Hello,

May be I am missing something (since I am not MRI hacker), but why
there is no module exclusion functionality — i.e. you can extend
object with module, but can’t reverse this operation? Any specific
reason for this decision?

I’ve just sketched simplistic implementation for this kind of
functionality (http://pastie.org/185000) and really wondering why
there is no such stuff in MRI.

Again, am I missing something?

Yurii.

2008/4/22 Yurii R. [email protected]:

May be I am missing something (since I am not MRI hacker), but why
there is no module exclusion functionality — i.e. you can extend
object with module, but can’t reverse this operation? Any specific
reason for this decision?

I’ve just sketched simplistic implementation for this kind of
functionality (http://pastie.org/185000) and really wondering why
there is no such stuff in MRI.

Interesting, Yurii. Maybe you should ask on ruby-core?

Regards,
Pit

I’ve just sketched simplistic implementation for this kind of
functionality (http://pastie.org/185000) and really wondering why
there is no such stuff in MRI.

Interesting, Yurii. Maybe you should ask on ruby-core?

I’d be happy to — but I can’t subscribe to ruby-core, neither by email
or through web form — I get no response from mailing list software.

BTW, GitHub - yrashk/rbmodexcl: Ruby module exclusion functionality

Yurii.

I’d be happy to � but I can’t subscribe to ruby-core, neither by email
or through web form � I get no response from mailing list software.

Yurii, if you don’t mind I could forward it to ruby-core.

Pit, it would be great! Just be sure to mention
GitHub - yrashk/rbmodexcl: Ruby module exclusion functionality instead of that pastie :slight_smile:

Thanks in advance,
Yurii.

2008/4/23 Yurii R. [email protected]:

Interesting, Yurii. Maybe you should ask on ruby-core?

I’d be happy to — but I can’t subscribe to ruby-core, neither by email
or through web form — I get no response from mailing list software.

Yurii, if you don’t mind I could forward it to ruby-core.

Regards,
Pit

Yurii R. wrote:

I’d be happy to � but I can’t subscribe to ruby-core, neither by email
or through web form � I get no response from mailing list software.
Yurii, if you don’t mind I could forward it to ruby-core.

Pit, it would be great! Just be sure to mention
GitHub - yrashk/rbmodexcl: Ruby module exclusion functionality instead of that pastie :slight_smile:

This may interest you:

http://rubyforge.org/docman/view.php/735/2472/examples.html

Regards,

Dan