I know their naming convention is different, but lets see what JRuby does too.

JD


-----Original Message-----
From: Tomas Matousek <[EMAIL PROTECTED]>
Sent: September 09, 2008 8:55 AM
To: ironruby-core@rubyforge.org <ironruby-core@rubyforge.org>
Subject: Re: [Ironruby-core] Overriding CLS Virtuals


Let's revisit that later, I'm also not sure what the details were.

Tomas

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Curt Hagenlocher
Sent: Tuesday, September 09, 2008 4:40 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Overriding CLS Virtuals

When you override a virtual method you're pushing much more into CLR-world than 
when you're just calling some function on some method.  In the latter case, you 
shouldn't have to know that the function you're calling is actually defined 
outside of Ruby, while in the former, this is a fairly important piece of 
information.

In any event, I recall that both John and Tomas felt that we shouldn't -- but 
no longer remember all the details.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Deville
Sent: Tuesday, September 09, 2008 1:01 AM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Overriding CLS Virtuals

Are we planning on supporting name mangling to give more Ruby-ish names? Like 
will we be able to do "def dispose" instead of "def Dispose"?

JD
________________________________________
From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Brad Wilson [EMAIL 
PROTECTED]
Sent: Monday, September 08, 2008 9:39 PM
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Overriding CLS Virtuals

It's not real unless you start singing "You are the wind beneath my wings". :)

On Mon, Sep 8, 2008 at 9:36 PM, Orion Edwards <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:
You are my hero :-)

Curt Hagenlocher wrote:

I've committed some changes to IronRuby (in SVN revision 141) that let you 
implement CLS interfaces and override virtual methods on CLS base types.  
Interfaces work like Ruby modules, so to make your class implement IDisposable 
you could say

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to