Type:
Class
Constants:
OPTIONS : DumperOptions.new

Default dumping options

EVENTS : [ :alias, :empty, :end_document, :end_mapping, :end_sequence, :end_stream, :scalar, :start_document, :start_mapping, :start_sequence, :start_stream ]

Events that a Handler should respond to.

Psych::Handler is an abstract base class that defines the events used when dealing with Psych::Parser. Clients who want to use Psych::Parser should implement a class that inherits from Psych::Handler and define events that they can handle.

Psych::Handler defines all events that Psych::Parser can possibly send to event handlers.

See Psych::Parser for more details

alias

alias(anchor) Instance Public methods Called when an alias is found to anchor

2015-04-29 04:26:23
end_document

end_document(implicit) Instance Public methods Called with the document ends

2015-04-29 04:37:53
scalar

scalar(value, anchor, tag, plain, quoted, style) Instance Public methods Called

2015-04-29 04:59:30
start_stream

start_stream(encoding) Instance Public methods Called with encoding

2015-04-29 05:15:19
end_mapping

end_mapping() Instance Public methods Called when a map ends

2015-04-29 04:44:30
start_document

start_document(version, tag_directives, implicit) Instance Public methods Called

2015-04-29 05:01:02
end_stream

end_stream() Instance Public methods Called when the YAML stream ends

2015-04-29 04:52:31
start_mapping

start_mapping(anchor, tag, implicit, style) Instance Public methods Called when

2015-04-29 05:03:36
end_sequence

end_sequence() Instance Public methods Called when a sequence ends.

2015-04-29 04:51:19
streaming?

streaming?() Instance Public methods Is this handler a streaming handler?

2015-04-29 05:21:45