enum

YAML::EventKind

Inherits Enum / Comparable / Value / Object

Constants

NONE = 0
STREAM_START = 1
STREAM_END = 2
DOCUMENT_START = 3
DOCUMENT_END = 4
ALIAS = 5
SCALAR = 6
SEQUENCE_START = 7
SEQUENCE_END = 8
MAPPING_START = 9
MAPPING_END = 10

Instance methods

alias?

Returns true if this enum value equals ALIAS

Source
document_end?

Returns true if this enum value equals DOCUMENT_END

Source
document_start?

Returns true if this enum value equals DOCUMENT_START

Source
mapping_end?

Returns true if this enum value equals MAPPING_END

Source
mapping_start?

Returns true if this enum value equals MAPPING_START

Source
none?

Returns true if this enum value equals NONE

Source
scalar?

Returns true if this enum value equals SCALAR

Source
sequence_end?

Returns true if this enum value equals SEQUENCE_END

Source
sequence_start?

Returns true if this enum value equals SEQUENCE_START

Source
stream_end?

Returns true if this enum value equals STREAM_END

Source
stream_start?

Returns true if this enum value equals STREAM_START

Source