From: Trans Date: 2008-08-19T00:59:11+09:00 Subject: Re: Hash#each vs Hash#each_pair On Aug 18, 11:38 am, Rob Biedenharn wrote: > An Array contains elements, a Hash contains key-value pairs.  Doesn't   > that make sense that Hash#each returns the pairs?  It seems that your   > mental picture of "values of the container" is at odds with Ruby (Matz). I think that mental picture would make more sense if there were such a thing as an KeyValuePair. I think Hash#each was made that was simply out of convenience, nothing more. T.