Sha256: efd9672931ca3bd734efeb8c9c5a81095f65cb78c6e2805c728262a7c9b84f6f
Contents?: true
Size: 900 Bytes
Versions: 28
Compression:
Stored size: 900 Bytes
Contents
{ "schema_type": "object", "schema_version": "1.0", "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", "type": "Or[Integer, Float, String]" }, { "arg": "opts", "type": "Ksplat[:separator? => String, :delimiter? => String, :pattern? => Regexp]" } ] } ], "links": [ ] }
Version data entries
28 entries across 28 versions & 1 rubygems