--- !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