Psych::Coder - ri - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


= Psych::Coder < Object

(from gem psych-5.4.0)
------------------------------------------------------------------------
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:

  new

= Instance methods:

  []
  []=
  add
  implicit
  map
  map=
  object
  represent_map
  represent_object
  represent_scalar
  represent_seq
  scalar
  scalar=
  seq
  seq=
  style
  tag
  type

= Attributes:

  attr_accessor implicit
  attr_accessor object
  attr_accessor style
  attr_accessor tag
  attr_reader seq
  attr_reader type


Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:14 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!