Sha256: 5cb159578551c6bd5344f954abdbb28b3fbcb3ba0e5b866c71eaa72f4f79dbb7

Contents?: true

Size: 639 Bytes

Versions: 2

Compression:

Stored size: 639 Bytes

Contents

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Ordinalize turns a number into an ordinal string used to denote the position in an ordered sequence such as 1st, 2nd, 3rd, 4th.
- !ruby/struct:SM::Flow::P 
  body: Examples
- !ruby/struct:SM::Flow::VERB 
  body: "  ordinalize('1')     # => "1st"\n  ordinalize('2')     # => "2nd"\n  ordinalize('1002')  # => "1002nd"\n  ordinalize('1003')  # => "1003rd"\n"
full_name: String::Style::ordinalize
is_singleton: true
name: ordinalize
params: (number_string)
visibility: public

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facets-2.4.2 doc/ri/String/Style/ordinalize-c.yaml
facets-2.4.3 doc/ri/String/Style/ordinalize-c.yaml