From: Yukihiro Matsumoto Date: 2010-06-18T09:39:30+09:00 Subject: [ruby-core:30804] Re: PATCH: ENV['key'] = non_string Hi, In message "Re: [ruby-core:30802] Re: PATCH: ENV['key'] = non_string" on Fri, 18 Jun 2010 08:34:19 +0900, Ryan Davis 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. So I object to add it to the core. But at the same time you are free to use your #method_missing helper to ENV, which is convenient, though not worthyto add in to the core. Treating Numbers/Boolean values specially might be better, but complex. matz.