On Mon, Apr 18, 2011 at 22:06, Robert Rice <rice.au...@pobox.com> wrote:
> But for consistency, you may want to add the .to_data method to the NSString

See the recent thread "Hash Table", it explains the funny business going on.

I also posted something to discuss this general matter a few months
ago but don't really remember if it got any traction (think not). I
guess it approached this via NSArray.

You don't need to use dataUsingEncoding, you can just convert that to
a ruby string instead. Many ways to do that come to me:

String(foo)
String.new(foo)
"".replace(foo)
""<<foo
""+foo
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to