method

each_codepoint

v2_1_10 - Show latest stable - Class: IO
each_codepoint()
public

Passes the Integer ordinal of each character in ios, passing the codepoint as an argument. The stream must be opened for reading or an IOError will be raised.

If no block is given, an enumerator is returned instead.