Project

General

Profile

Actions

Misc #9128

closed

Clarify documentation on difference between Object#clone and Object#dup

Added by stevegoobermanhill (stephen gooberman-hill) about 11 years ago. Updated about 11 years ago.

Status:
Closed
Assignee:
[ruby-core:58435]

Description

Object#clone and Object#dup documentation does not show that modules mixed in via Module#extend are preserved by #clone, but not by #dup


Files

0001-added-clarification-of-differences-between-Object-cl.patch (1.73 KB) 0001-added-clarification-of-differences-between-Object-cl.patch Patch to Object documentation, adds further note and example into Object#clone documentation stevegoobermanhill (stephen gooberman-hill), 11/19/2013 09:53 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0