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