⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
Psych
/
View File Name :
parse_stream-c.ri
U:RDoc::AnyMethod[iI"parse_stream:ETI"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::BlankLine o; ; [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"9 Psych.parse_stream("--- `", filename: "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"0Raises a TypeError when NilClass is passed.;T@o; ; [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, legacy_filename = NOT_GIVEN, filename: nil, &block);T@0FI" Psych;TcRDoc::NormalModule00