class Psych::Nodes::Scalar

def initialize value, anchor = nil, tag = nil, plain = true, quoted = false, style = ANY

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (String value, ?nil anchor, ?nil tag, ?true plain, ?false quoted, ?Integer style) -> void

This signature was generated using 1 sample from 1 application.

See also Psych::Handler#scalar

== See Also

+style+ is an integer indicating the string style
+quoted+ is a boolean value
+plain+ is a boolean value
+tag+ is an associated tag or nil
+anchor+ is an associated anchor or nil
+value+ is the string value of the scalar

Create a new Psych::Nodes::Scalar object.
##
def initialize value, anchor = nil, tag = nil, plain = true, quoted = false, style = ANY
  @value  = value
  @anchor = anchor
  @tag    = tag
  @plain  = plain
  @quoted = quoted
  @style  = style
end