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