Sha256: ed6efadcaede3ca59bee6e3464f455d8cec34db302649dff6fdf15a1694f23cb

Contents?: true

Size: 962 Bytes

Versions: 71

Compression:

Stored size: 962 Bytes

Contents

{
  "schema_type": "object",
  "schema_version": "1.1",
  "name": "number_to_delimited",
  "path": "packages/ree_number/package/ree_number/functions/number_to_delimited.rb",
  "mount_as": "fn",
  "class": "ReeNumber::NumberToDelimited",
  "factory": null,
  "methods": [
    {
      "doc": "Converts Integer, Float or String to a String with delimiter.\n\nnumber_to_delimited(12345678)\n# => \"12,345,678\"\n\nnumber_to_delimited(123456.789)\n# => \"123,456.789\"\n\nnumber_to_delimited(123456.78, pattern: /(d+?)(?=(dd)+(d)(?!d))/))\n# => \"1,23,456.78\"",
      "throws": [

      ],
      "return": "String",
      "args": [
        {
          "arg": "number",
          "arg_type": "req",
          "type": "Or[Integer, Float, String]"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:separator? => String, :delimiter? => String, :pattern? => Regexp]"
        }
      ]
    }
  ],
  "links": [

  ]
}

Version data entries

71 entries across 71 versions & 1 rubygems

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