Sha256: f2ae27af5ca2778147ae509427db29c88b982a88e6586515163be9a4f2022004
Contents?: true
Size: 822 Bytes
Versions: 28
Compression:
Stored size: 822 Bytes
Contents
{ "schema_type": "object", "schema_version": "1.0", "name": "deep_dup", "path": "packages/ree_object/package/ree_object/functions/deep_dup.rb", "mount_as": "fn", "class": "ReeObject::DeepDup", "factory": null, "methods": [ { "doc": "Create deep duplicate of source object.\nDuplicate object will also have singleton methods copied from source object.\n\nOptions:\n :freeze - freeze duplicate object\n \nExamples of usage:\n deep_dup({name: 'John'}) => {name: 'John'}\n deep_dup({name: 'John'}, freeze: true) => {name: 'John'}", "throws": [ ], "return": "Any", "args": [ { "arg": "obj", "type": "Any" }, { "arg": "opts", "type": "Ksplat[:freeze? => Bool]" } ] } ], "links": [ ] }
Version data entries
28 entries across 28 versions & 1 rubygems