From: Nobuyoshi Nakada Date: 2007-06-22T05:34:56+09:00 Subject: Re: Behaviour of Enumerables reject vs. select mixed into Hash Hi, At Thu, 21 Jun 2007 23:45:42 +0900, Trans wrote in [ruby-talk:256401]: > I can think of two potential solutions to this issue. Either require a > method in the enumerated class that dictates how to construct elements > of that class when enumerated (#<< might do), or we could have two > separate sets of enumerable methods, one for array elements and one > for hash key-value pairs. Classes which use Enumerable are not only Array and Hash. What do you expect for IO? -- Nobu Nakada