Robert Klemme wrote:
> On 15.03.2009 23:02, Michael Malone wrote:
>> Or does read_end.read block until it finds EOF?
> 
> Yes, that's what it does:
> http://www.ruby-doc.org/core/classes/IO.html#M002295

The docs shouldn't be read as a Bible. The docs may not be very precise. 
If IO#read is similar to C's read(), then it also returns when it had 
read all the available bytes. See "man 2 read".
-- 
Posted via http://www.ruby-forum.com/.