I agree with this, maybe:

require 'clr-library', :mangle => false

or perhaps:

require 'clr-library', :mangler => ThisMangler

Something like this would always fix any possible problems with
mangling. (especially since #methods does not return the clr methods)
Though if you argue that the mangling process is so simple and not
error prone at all (the #methods problem being the only one so far?)
such an option would be obsolete.

Greetings,
Tinco

On Fri, Nov 26, 2010 at 18:01, andrew Wilson <a.wilso...@gmail.com> wrote:
> Re: [Ironruby-core] Lowercase classname
> Jimmy,
> I wasn't aware I could pull the classes and namespaces that way, so I am
> actually super glad this opportunity exists.  Understanding that IronRuby
> should be syntactically be the same, I'd like to offer that it'd be "ideal"
> (for me at least) if this conversion happened more seamlessly (perhaps a
> special require option?).  That is-- when I pull in a .net application it'd
> be nice if the boiler plate code to correct the namespacing / object rules
> could generated by using the metadata of the assembly and some proper casing
> code.
> I perhaps could even write this myself if anyone else thought it be useful,
> though I cannot commit to a timeline :)
> -Andrew
> _______________________________________________
> 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