Sha256: bbc53c6474dac4767a0b280154610656db4353157055bfdbc32fee9b23d7017a

Contents?: true

Size: 632 Bytes

Versions: 4

Compression:

Stored size: 632 Bytes

Contents

{
  "schema_type": "object",
  "ree_version": "1.0.1",
  "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

4 entries across 4 versions & 1 rubygems

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