method

codepoints

Importance_1
codepoints() public

Returns an array of the Integer ordinals of the characters in str. This is a shorthand for str.each_codepoint.to_a.

If a block is given, which is a deprecated form, works the same as each_codepoint.

Show source
Register or log in to add new notes.