Sha256: 52b803744870a5a0ccaef31e41a4af7fb2bed65ace26f8faafc248289c0c6df8

Contents?: true

Size: 1021 Bytes

Versions: 4

Compression:

Stored size: 1021 Bytes

Contents

{
  "schema_type": "object",
  "ree_version": "1.0.1",
  "name": "number_to_ordinalized",
  "path": "packages/ree_number/package/ree_number/functions/number_to_ordinalized.rb",
  "mount_as": "fn",
  "class": "ReeNumber::NumberToOrdinalized",
  "factory": null,
  "methods": [
    {
      "doc": "Turns a number into an ordinal string used to denote the position in an\nordered sequence such as 1st, 2nd, 3rd, 4th.\n\n  ordinalize(1)     # => \"1st\"\n  ordinalize(2)     # => \"2nd\"\n  ordinalize(1002)  # => \"1002nd\"\n  ordinalize(1003)  # => \"1003rd\"\n  ordinalize(-11)   # => \"-11th\"\n  ordinalize(-1021) # => \"-1021st\"",
      "throws": [

      ],
      "return": "String",
      "args": [
        {
          "arg": "number",
          "type": "Integer"
        },
        {
          "arg": "opts",
          "type": "Ksplat[:locale? => Symbol]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "t",
      "package_name": "ree_i18n",
      "as": "t",
      "imports": [

      ]
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

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