method

ord

Importance_1
v3.2.8 - Show latest stable - 0 notes - Class: ActiveSupport::Multibyte::Chars
ord() public

Returns the codepoint of the first character in the string.

Example:

'こんにちは'.mb_chars.ord # => 12371
Show source
Register or log in to add new notes.