Re: Tempfile strangeness in 1.9.0

From: matz@... (Yukihiro Matsumoto)
Date: 2004-04-24 14:48:23 UTC
List: ruby-core #2815
Hi,

In message "Tempfile strangeness in 1.9.0"
    on 04/04/24, Steven Jenkins <steven.jenkins@ieee.org> writes:

|I didn't open a bug for this because it's from the CVS head, but it 
|doesn't look right to me.

Tempfile is a duck quacks like an IO, so that adding a method to the
IO class does not always reflect to the Tempfile class.  1.6 tempfile
delegates every method to the IO at run time; 1.9 tempfile defines
delegation statically to gain performance.

							matz.

In This Thread