Sha256: 434757453540ed8bfbd56041af9006cda30e07b0e1294f20fbdfd772710acf24

Contents?: true

Size: 751 Bytes

Versions: 28

Compression:

Stored size: 751 Bytes

Contents

{
  "schema_type": "object",
  "schema_version": "1.0",
  "name": "deconstantize",
  "path": "packages/ree_string/package/ree_string/functions/deconstantize.rb",
  "mount_as": "fn",
  "class": "ReeString::Deconstantize",
  "factory": null,
  "methods": [
    {
      "doc": "Removes the rightmost segment from the constant expression in the string.\n\n  deconstantize('Net::HTTP')   # => \"Net\"\n  deconstantize('::Net::HTTP') # => \"::Net\"\n  deconstantize('String')      # => \"\"\n  deconstantize('::String')    # => \"\"\n  deconstantize('')            # => \"\"",
      "throws": [

      ],
      "return": "String",
      "args": [
        {
          "arg": "path",
          "type": "String"
        }
      ]
    }
  ],
  "links": [

  ]
}

Version data entries

28 entries across 28 versions & 1 rubygems

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