Le 16 sept. 06, ? 11:43, ts a ?crit :

>>>>>> "G" == Guillaume Marcais <guslist / free.fr> writes:
>
> G> Greping the source of Ruby for rb_cIO, I cannot find the place where
> G> IO#dup is defined in the IO class. I do see the function ruby_dup, 
> but
> G> this is an internal function that works on int, not VALUE. I am
> G> confused...
>
>  #dup use #initialize_copy : rb_io_init_copy()
>
>
> Guy Decoux
>
>

Got it. Thanks.

Guillaume.