method

external_encoding

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: IO
external_encoding() public

Returns the Encoding object that represents the encoding of the file. If io is in write mode and no encoding is specified, returns nil.

Show source
Register or log in to add new notes.