Sha256: 2f21616d88ee78ef0f7d9642cde32e292ff7a7f0a6d3331dba72b8eb47e363d6

Contents?: true

Size: 633 Bytes

Versions: 28

Compression:

Stored size: 633 Bytes

Contents

{
  "schema_type": "object",
  "schema_version": "1.0",
  "name": "strip_links",
  "path": "packages/ree_text/package/ree_text/functions/strip_links.rb",
  "mount_as": "fn",
  "class": "ReeText::StripLinks",
  "factory": null,
  "methods": [
    {
      "doc": "Removes +a+ tags and +href+ attributes leaving only the link text.\nstrip_links('<a href=\"example.com\">Only the link text will be kept.</a>')\n#\n#  => 'Only the link text will be kept.'",
      "throws": [

      ],
      "return": "String",
      "args": [
        {
          "arg": "html",
          "type": "String"
        }
      ]
    }
  ],
  "links": [

  ]
}

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
ree_lib-1.0.11 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json
ree_lib-1.0.10 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json
ree_lib-1.0.9 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json
ree_lib-1.0.8 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json
ree_lib-1.0.7 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json
ree_lib-1.0.6 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json
ree_lib-1.0.5 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json
ree_lib-1.0.4 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/strip_links.schema.json