Module: DeepClone::Extensions::Array
- Defined in:
- lib/deep_clone/extensions/array.rb
Instance Method Summary collapse
-
#__deep_clone__ ⇒ Array
Makes a deep copy of the array, deep copying every element inside the array.
Instance Method Details
#__deep_clone__ ⇒ Array
Makes a deep copy of the array, deep copying every element inside the array.
13 14 15 |
# File 'lib/deep_clone/extensions/array.rb', line 13 def __deep_clone__ map { |value| value.__deep_clone__ } end |