Deep Clone
This repository is no longer maintained and it's looking for a new owner :) If you'd like to take over please file an issue.
Status
System | Status |
---|---|
Travis | |
Gem Version | |
Code Climante |
Description
This gem provides a native implementation to deep clone Ruby objects. It supports Ruby 1.9.3, 2.2.x, 2.3.x and 2.4.x.
Installation
gem install ruby_deep_clone
or add it to your Gemfile
gem 'ruby_deep_clone'
and run bundle install
Usage
Can be used as follows:
require 'deep_clone'
object = Object.new
clone_object = DeepClone.clone obj