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

Version Path
ree_lib-1.0.32 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.31 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.30 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.29 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.28 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.27 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.26 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.24 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.23 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.22 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.21 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.20 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.19 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.18 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.17 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.16 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.15 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.14 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.13 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json
ree_lib-1.0.12 lib/ree_lib/packages/ree_object/schemas/ree_object/functions/deep_dup.schema.json