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.83 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.82 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.81 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.80 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.79 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.78 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.77 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.76 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.75 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.74 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.73 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.72 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.71 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.70 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.69 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.68 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.67 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.66 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.65 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json
ree_lib-1.0.64 lib/ree_lib/packages/ree_text/schemas/ree_text/functions/safe_join.schema.json