[#2367] Standard libraries — Dave Thomas <dave@...>

From ruby-dev summary:

60 messages 2004/02/11

[#2397] PATCH: deprecate cgi-lib, getopts, importenv, parsearg from standard library — Gavin Sinclair <gsinclair@...>

Index: cgi-lib.rb

15 messages 2004/02/12

[#2465] PATCH: OpenStruct#initialize to yield self — Gavin Sinclair <gsinclair@...>

This is a common approach I use to object initialization; I don't know

24 messages 2004/02/19

Re: xxx_init_copy

From: matz@... (Yukihiro Matsumoto)
Date: 2004-02-04 05:38:42 UTC
List: ruby-core #2338
Hi,

In message "Re: xxx_init_copy"
    on 04/02/03, Dave Thomas <dave@pragprog.com> writes:

|This is why I asked the question about dup and clone being the same. 
|Matz says that they aren't, so I'm wondering if it's OK to alias the 
|two in the documentation like this.

Difference lies in the Object#dup and Object#clone.  initialize_copy
does the additional work (both for dup and clone) for the particular
class.  I'm not sure what is the best way to document this.

							matz.

In This Thread