From: Woody Peterson Date: 2008-09-08T18:58:48+09:00 Subject: Re: Hash auto-true ({:a} == {:a => true}) Yeah, that all would work pretty well. I think the restriction that value pairs come last is fair, and it's a pretty clean solution. Thanks! Now I'm wondering what it would take to define a hash explode (sidenote: is that what * on *args is called? explode?). How would one go about defining something like {}args that explodes args into a true-for-value-less hash (even using the code you posted)? I'm not sure exactly how *args works internally, and it's pretty hard to find info about it, actually. Any idea what kind of method it is, and how would you define another one? Anyways, thanks for your suggestion. It'll work great. I can't help but wonder what the world would be like with a "hash explode" for this purpose, though :-) -- Posted via http://www.ruby-forum.com/.