Sha256: 2cc0cc647667045cae08a380081076d9546d6e544eec55c860d4a20f734eef22
Contents?: true
Size: 437 Bytes
Versions: 164
Compression:
Stored size: 437 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Extensions #:nodoc: module Object #:nodoc: module DeepCopy #:nodoc: # Make a deep copy of the object. # # @example Make a deep copy. # "testing"._deep_copy # # @return [ Object ] The deep copy. # # @since 2.4.0 def _deep_copy duplicable? ? dup : self end end end end end
Version data entries
164 entries across 72 versions & 3 rubygems