{ "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": [ ] }