Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

gmodarelli/ruby-deepclone

Repository files navigation

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 Travis Build Status
Gem Version Gem Version
Code Climante Code Climate

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

About

Native Ruby deep clone implementation

Resources

Stars

Watchers

Forks

Packages

No packages published