From: Alex Young <alex@...>
Date: 2011-07-27T18:41:21+09:00
Subject: [ruby-core:38559] Re: [Ruby 1.9 - Feature #4589] add Queue#each() method and include Enumerable

On 27/07/11 00:34, Eric Hodel wrote:
> 
> Issue #4589 has been updated by Eric Hodel.
> 
> 
> There are no destructive methods in Enumerable.

Enumerable gets mixed into IO, and #each on a Socket *is* destructive
(of the buffer contents). In that sense there is precedent for this sort
of behaviour.

-- 
Alex