On Jun 17, 2010, at 17:39 , Yukihiro Matsumoto wrote:

> Hi,
>=20
> In message "Re: [ruby-core:30802] Re: PATCH: ENV['key'] =3D =
non_string"
>    on Fri, 18 Jun 2010 08:34:19 +0900, Ryan Davis =
<ryand-ruby / zenspider.com> writes:
>=20
> |ENV["foo"] =3D 1
> |
> |or:
> |
> |ENV["foo"] =3D true
> |
> |I actually use those a fair amount.
>=20
> Hmm, I think internal #to_s bites you, rather than buys you, except
> for a few cases you've mentioned above.=20

ENV["PATH"] =3D MySmartPathBuilder.new

$, =3D ":"
ENV["PATH"] =3D %w(a b c).to_s

etc etc etc

Object.new? I don't think people are going to be "bit" by this nearly as =
much as they can be benefitted.