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

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

ENV["PATH"] = MySmartPathBuilder.new

$, = ":"
ENV["PATH"] = %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.