From: Phlip Date: 2009-03-09T21:28:16+09:00 Subject: Re: Where's the best version of Hash#pass and Hash#block? Matthias Reitinger wrote: >> Why doesn't slice do the flatten trick here? >> >> keep_keys = [keep_keys].flatten > > It would lead to ambiguities if you additionally allowed passing an > array of keys. Consider: I had already considered the system that only flattens the first depth, but I forgot to mention it...