Hi,

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

|Does that mean that there's no difference between dup and clone for 
|these classes?

"clone" does

  (a) create instance of the original's class.
  (b) copy singleton class if the original has one. 
  (c) copy internal flags except for frozen flags.
  (d) copy instance variables
  (e) call "initialize_copy"
  (f) copy frozen flag if the original is frozen.

"dup" does

  (a) create instance of the original's class.
  (d) copy instance variables
  (e) call "initialize_copy"

							matz.