I wasn't a fan of all the calls to to_s either so I put together a small patch (which undoubtedly is nothing like what the actual fix is going to be) to relieve my pains. The bug I submitted along with a patch I made locally can be found at:
http://rubyforge.org/tracker/?func=detail&aid=19873&group_id=4359&atid=16798 Cheers, Steve On Thu, May 8, 2008 at 8:55 AM, Robert Brotherus <[EMAIL PROTECTED]> wrote: > I would guess that IR-teams plan is to implement auto-wrapping of strings > coming from DotNet as MutableStrings? > > At least I hope so since that would get rid of my code of extensive > *to_s*calls from parameters / values coming from C# :-) > * > > Robert Brotherus > *Software architect > *Napa Ltd > * > > ------------------------------ > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Peter Bacon Darwin > *Sent:* 8. toukokuuta 2008 15:47 > *To:* [email protected] > *Subject:* [Ironruby-core] Forgetting MutableString > > I keep forgetting to wrap up CLR strings in MutableStrings when returning > strings retrieved from calls to .NET Framework library methods. > > > > > > _______________________________________________ > 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
