Sha256: dda9bc70c3a0d15c94aa4ce04c558544d557addd9b2e9127792e95f38faab1ae

Contents?: true

Size: 780 Bytes

Versions: 71

Compression:

Stored size: 780 Bytes

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "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",
          "arg_type": "req",
          "type": "String"
        }
      ]
    }
  ],
  "links": [

  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

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