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.
System | Status |
---|---|
Travis | |
Gem Version | |
Code Climante |
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.
gem install ruby_deep_clone
or add it to your Gemfile
gem 'ruby_deep_clone'
and run bundle install
Can be used as follows:
require 'deep_clone'
object = Object.new
clone_object = DeepClone.clone obj