PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Lam
(IRONRUBY)
Sent: Thursday,08 May 08, 2008 17:23
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Forgetting MutableString
Peter Bacon Darwin:
> I keep forgetting to wrap up CLR strings in MutableStrings when
> returning s
Peter Bacon Darwin:
> I keep forgetting to wrap up CLR strings in MutableStrings when
> returning strings retrieved from calls to .NET Framework library
> methods.
I finally understand what this is ... is this what you're looking for?
public override bool Equals(object other) {
Robert Brotherus:
> 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
Yes - your to_s hacks should go away :)
Thanks,
-John
___
I
Peter Bacon Darwin:
> I understand that Tomas is working on a version of MutableString that
> has a hybrid internal organisation to enable easy cooperation with CLR
> strings while maintaining compatibility with Ruby strings (hopefully
> without losing out in performance).
Yes- Tomas is working o
maintaining compatibility with Ruby strings (hopefully without losing
out in performance).
Pete
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Eichert
Sent: Thursday,08 May 08, 2008 14:06
To: ironruby-core@rubyforge.org
Subject: Re: [Ironruby-core] Forgetting MutableString
I
half Of *Peter Bacon Darwin
> *Sent:* 8. toukokuuta 2008 15:47
> *To:* ironruby-core@rubyforge.org
> *Subject:* [Ironruby-core] Forgetting MutableString
>
> I keep forgetting to wrap up CLR strings in MutableStrings when returning
> strings retrieved from calls to .NET Framework librar
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter Bacon
Darwin
Sent: 8. toukokuuta 2008 15:47
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] Forgetting MutableString
I keep forgetting to wrap up CLR strings in MutableStrings when
returning strings retrieved from calls
I keep forgetting to wrap up CLR strings in MutableStrings when returning
strings retrieved from calls to .NET Framework library methods.
I had this RSpec that had something like:
some_array[3].should == "some mutable string"
that was failing with the error:
Expected "some mutable s