Sha256: cea5b43010236c818a84acb32ffe205b4c303e01c5de178a5c0d880d463f88d6

Contents?: true

Size: 665 Bytes

Versions: 4

Compression:

Stored size: 665 Bytes

Contents

{
  "schema_type": "object",
  "ree_version": "1.0.1",
  "name": "remove",
  "path": "packages/ree_string/package/ree_string/functions/remove.rb",
  "mount_as": "fn",
  "class": "ReeString::Remove",
  "factory": null,
  "methods": [
    {
      "doc": "Alters the string by removing all occurrences of the patterns.\n  remove(\"foo bar test\", [\" test\", /bar/])         # => \"foo \"",
      "throws": [

      ],
      "return": "String",
      "args": [
        {
          "arg": "str",
          "type": "String"
        },
        {
          "arg": "patterns",
          "type": "ArrayOf[Or[String, Regexp]]"
        }
      ]
    }
  ],
  "links": [

  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ree_lib-1.0.3 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/remove.schema.json
ree_lib-1.0.2 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/remove.schema.json
ree_lib-1.0.1 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/remove.schema.json
ree_lib-1.0.0 lib/ree_lib/packages/ree_string/schemas/ree_string/functions/remove.schema.json