Sha256: 5c37be8f792d9ded259c74efe5de6fd995a8ffcaf325588a37e63076caf50f16

Contents?: true

Size: 1.06 KB

Versions: 71

Compression:

Stored size: 1.06 KB

Contents

{
  "schema_type": "object",
  "schema_version": "1.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",
          "arg_type": "req",
          "type": "Integer"
        },
        {
          "arg": "opts",
          "arg_type": "keyrest",
          "type": "Ksplat[:locale? => Symbol]"
        }
      ]
    }
  ],
  "links": [
    {
      "target": "t",
      "package_name": "ree_i18n",
      "as": "t",
      "imports": [

      ]
    }
  ]
}

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_ordinalized.schema.json
ree_lib-1.0.102 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.101 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.100 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.99 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.98 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.97 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.96 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.95 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.94 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.93 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.92 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.91 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.90 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.89 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.88 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.87 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.86 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.85 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json
ree_lib-1.0.84 lib/ree_lib/packages/ree_number/schemas/ree_number/functions/number_to_ordinalized.schema.json