enum Gio::DataStreamNewlineType

Overview

#GDataStreamNewlineType is used when checking for or setting the line endings for a given file.

Defined in:

auto/gio-2.0/gio.cr

Enum Members

Lf = 0_u32

Selects "LF" line endings, common on most modern UNIX platforms.

Cr = 1_u32

Selects "CR" line endings.

CrLf = 2_u32

Selects "CR, LF" line ending, common on Microsoft Windows.

Any = 3_u32

Automatically try to handle any line ending type.

Instance Method Summary

Instance Method Detail

def any? #

def cr? #

def cr_lf? #

def lf? #