I'm going to use single quotes for formatting CLR strings via inspect.
"clr:" prefix is too long and it gets in your way when working mostly with CLR 
strings.

>>> "Some string"
=> "Some string"
>>> "Some string".to_clr_string
=> 'Some string'

Sounds good?

Tomas

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Thibaut Barrère
Sent: Wednesday, March 04, 2009 12:15 PM
To: [email protected]
Subject: Re: [Ironruby-core] Comparing CLR strings and Ruby strings - a 
slightly surprising behaviour

> I like the idea of showing System.String as clr:"xxx".

+1 for something like that - this way the failed assertions or people
using stdout for debug would not be fooled.

-- Thibaut
_______________________________________________
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