Sha256: 9060c3b5bfefeb0bd9a68d3a51c47c20a08e3d04f21cac0baf6533a541a304a1

Contents?: true

Size: 884 Bytes

Versions: 71

Compression:

Stored size: 884 Bytes

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "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",
          "arg_type": "req",
          "type": "Any"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:freeze? => Bool]"
        }
      ]
    }
  ],
  "links": [

  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.103 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.102 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.101 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.100 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.99 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.98 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.97 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.96 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.95 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.94 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.93 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.92 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.91 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.90 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.89 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.88 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.87 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.86 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.85 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.84 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json