method

raw_encoding

v2_4_6 - Show latest stable - Class: CSV
raw_encoding(default = Encoding::ASCII_8BIT)
private

Returns the encoding of the internal IO object or the default if the encoding cannot be determined.