On Sep 23, 2009, at 2:35 PM, Charles Oliver Nutter wrote:
str = java.lang.System.get_property('foo')The 'foo' would coerce to a Java string on the way in, but the return value would not auto-coerce back to a Ruby String. It would ideally look and feel like a Ruby String and have all the expected non-mutative methods working fine, and you could call to_s or to_str to actually force it to become a Ruby String. The intention here is that whereever possible we could just leave objects as-is and not pay the coercion cost until the user actually wants to pay it, rather than forcing strings to coerce on every call.
This works for me! It cause a few bugs but nothing we can't fix quickly while moving forward. Thanks guys!
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
