Method: Ascii::Codepoint#code

Defined in:
lib/ascii/codepoint.rb

#codeInteger (readonly)

Returns the code of the unicode character.

Returns:

  • (Integer)

    the code of the unicode character



9
10
11
# File 'lib/ascii/codepoint.rb', line 9

def code
  @code
end