Sha256: caf0d5a8f21a071afd7647a6eb0f2486b85ba4c59292faad9aa4ef56815b6b2d

Contents?: true

Size: 1 KB

Versions: 71

Compression:

Stored size: 1 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "safe_join",
  "path": "packages/ree_text/package/ree_text/functions/safe_join.rb",
  "mount_as": "fn",
  "class": "ReeText::SafeJoin",
  "factory": null,
  "methods": [
    {
      "doc": "This method returns an string similar to what <tt>Array#join</tt>\nwould return. The array is flattened, and all items, including\nthe supplied separator, are HTML escaped.\n\n  safe_join([\"<p>foo</p>\", \"<p>bar</p>\"], sep: \"<br />\")\n  # => \"&lt;p&gt;foo&lt;/p&gt;&lt;br /&gt;&lt;p&gt;bar&lt;/p&gt;\"",
      "throws": [

      ],
      "return": "String",
      "args": [
        {
          "arg": "array",
          "arg_type": "req",
          "type": "Array"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:sep? => String]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "escape_html",
      "package_name": "ree_text",
      "as": "escape_html",
      "imports": [

      ]
    }
  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
ree_lib-1.0.103 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.102 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.101 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.100 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.99 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.98 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.97 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.96 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.95 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.94 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.93 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.92 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.91 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.90 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.89 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.88 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.87 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.86 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.85 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.84 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json