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

streaming?
  • References/Ruby on Rails/Ruby/Classes/Psych/Psych::Handler

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

2025-01-10 15:47:30
empty
  • References/Ruby on Rails/Ruby/Classes/Psych/Psych::Handler

empty() Instance Public methods Called when an empty event happens. (Which,

2025-01-10 15:47:30
start_sequence
  • References/Ruby on Rails/Ruby/Classes/Psych/Psych::Handler

start_sequence(anchor, tag, implicit, style) Instance Public methods Called

2025-01-10 15:47:30