Module Kernel
In: lib/clio/facets/kernel.rb

Methods

deep_copy  

Public Instance methods

Anything that can be marshaled can be copied in totality. This is also commonly called a deep_copy.

  "ABC".copy  #=> "ABC"

[Source]

# File lib/clio/facets/kernel.rb, line 8
  def deep_copy
    Marshal::load(Marshal::dump(self))
  end

[Validate]