method

deep_dup

Importance_1
v7.1.3.4 - Show latest stable - 0 notes - Class: Module
deep_dup() public

Returns a copy of module or class if it’s anonymous. If it’s named, returns self.

Object.deep_dup == Object # => true
klass = Class.new
klass.deep_dup == klass # => false
Show source
Register or log in to add new notes.