Skip to content
On this page

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.0

Psych::Coder

< Object 12 instance methods 1 class methods

If an object defines encode_with, then an instance of Psych::Coder will be passed to the method when the object is being serialized. The Coder automatically assumes a Psych::Nodes::Mapping is being emitted. Other objects like Sequence and Scalar may be emitted if seq= or scalar= are called, respectively.

Class methods 1

Instance methods 12

Attributes
Read & Write
No documentation available
Read & Write
No documentation available

seq

Read
No documentation available
Read & Write
No documentation available

tag

Read & Write
No documentation available
Read
No documentation available