U:RDoc::AnyMethod[iI" scalar:EFI"Psych::Handler#scalar;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"DCalled when a scalar +value+ is found. The scalar may have an ;TI"D+anchor+, a +tag+, be implicitly +plain+ or implicitly +quoted+;To:RDoc::Markup::BlankLineo; ; [ I"/+value+ is the string value of the scalar ;TI"-+anchor+ is an associated anchor or nil ;TI"'+tag+ is an associated tag or nil ;TI" +plain+ is a boolean value ;TI"!+quoted+ is a boolean value ;TI"5+style+ is an integer idicating the string style;T@o; ; [I"JSee the constants in Psych::Nodes::Scalar for the possible values of ;TI" +style+;T@S:RDoc::Markup::Heading: leveli: textI" Example;T@o; ; [I"KHere is a YAML document that exercises most of the possible ways this ;TI"method can be called:;T@o:RDoc::Markup::Verbatim; [ I" --- ;TI"- !str "foo" ;TI"- &anchor fun ;TI" - many ;TI" lines ;TI" - | ;TI" many ;TI" newlines ;T: @format0o; ; [I"JThe above YAML document contains a list with four strings. Here are ;TI":the parameters sent to this method in the same order:;T@o;; [ I"C# value anchor tag plain quoted style ;TI"D["foo", nil, "!str", false, false, 3 ] ;TI"D["fun", "anchor", nil, true, false, 1 ] ;TI"D["many lines", nil, nil, true, false, 1 ] ;TI"C["many\nnewlines\n", nil, nil, false, true, 4 ];T;0: @fileI"#ext/psych/lib/psych/handler.rb;T:0@omit_headings_from_table_of_contents_below000[I"/(value, anchor, tag, plain, quoted, style);T@7FI" Handler;TcRDoc::NormalClass00