Psych::Nodes::Scalar - ri - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


= Psych::Nodes::Scalar < Psych::Nodes::Node

(from gem psych-5.4.0)
------------------------------------------------------------------------
This class represents a YAML Scalar( http://yaml.org/spec/1.1/#id858081
).

This node type is a terminal node and should not have any children.
------------------------------------------------------------------------
= Constants:

ANY:
  Any style scalar, the emitter chooses

DOUBLE_QUOTED:
  Double quoted style

FOLDED:
  Folded style

LITERAL:
  Literal style

PLAIN:
  Plain scalar style

SINGLE_QUOTED:
  Single quoted style


= Class methods:

  new

= Instance methods:

  anchor
  plain
  quoted
  scalar?
  style
  tag
  value

= Attributes:

  attr_accessor anchor
  attr_accessor plain
  attr_accessor quoted
  attr_accessor style
  attr_accessor tag
  attr_accessor value


Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 06:22 @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!