gmodarelli / ruby-deepclone

Native Ruby deep clone implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Ruby 62.3%Language:C 37.7%