Private method will map to a instance method, but only with -X:PrivateBindings. 
Otherwise that looks great. Could I talk you into updating the table and adding 
specs to Merlin\Main\Languages\Ruby\Tests\Interop\net? Even just adding them to 
uncategorized_spec.rb will work, I'll move them around.

Thanks,

JD

...there is no try


> -----Original Message-----
> From: [email protected] [mailto:ironruby-core-
> [email protected]] On Behalf Of Shay Friedman
> Sent: Monday, June 08, 2009 10:57 AM
> To: [email protected]
> Subject: Re: [Ironruby-core] .Net<->IR Object Mapping
>
> The list on this page is great but it is not complete.
>
> Here is what I came up with. Correct me if I'm mistaken:
>
> .Net Object    Ruby Object
> ------------------------------------------------------
> Namespace    Module
> Interface    Module
> Class      Class
> Enum      Class
> Enum constant    Class method
> Constant    Class method
> Static method    Class method
> Property    Getter and setter methods
> Public method    Instance method
> Protected method  Instance method
> Private method    Isn't mapped at all
> Delegate    Class
>
> I have to say that the delegate mapping is awesome!!!
> I can't say why, but using it with a code block is much more fun than writing
> anonymous methods or lambda expressions in C# :)
>
> Thanks,
> Shay.
>
> ----------------------------
> http://www.ironshay.com
> Follow me: http://twitter.com/ironshay
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to