Hi,

In message "[ruby-talk:6323] dup vs clone"
    on 00/11/14, jweirich / one.net <jweirich / one.net> writes:

|The "Programming Ruby" book indicates that there may be semantic
|differences between "dup" and "clone", particularly in descendent
|classes.  I'm not entirely sure why there would be a difference and
|exactly what that difference is.  Could someone elaborate?

`clone' copies everything; internal state, singleton methods, etc.
`dup' copies object contents only (plus taintness status).

							matz.