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.83 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.82 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.81 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.80 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.79 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.78 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.77 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.76 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.75 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.74 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.73 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.72 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.71 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.70 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.69 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.68 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.67 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.66 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.65 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json
ree_lib-1.0.64 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/deconstantize.schema.json