andrew Wilson
2010-Nov-26 17:01 UTC
[Ironruby-core] Ironruby-core Digest, Vol 39, Issue 13
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20101126/4899eb25/attachment-0001.html>
Tinco Andringa
2010-Nov-26 20:31 UTC
[Ironruby-core] Ironruby-core Digest, Vol 39, Issue 13
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.wilson82 at 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 at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >