Flowdock
class
Importance_1
v2_4_6 - Show latest stable - 0 notes - Superclass: Object

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

Constants

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

OPTIONS = DumperOptions.new

Attributes

Show files where this class is defined (1 file)
Register or log in to add new notes.