File: //usr/share/ri/3.0.0/system/Psych/load_stream-c.ri
U:RDoc::AnyMethod[iI"load_stream:ETI"Psych::load_stream;TT:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"LLoad multiple documents given in +yaml+. Returns the parsed documents ;TI"Nas a list. If a block is given, each document will be converted to Ruby ;TI"+and passed to the block during parsing;To:RDoc::Markup::BlankLine o;
; [I"
Example:;T@o:RDoc::Markup::Verbatim; [I"IPsych.load_stream("--- foo\n...\n--- bar\n...") # => ['foo', 'bar']
;TI"
;TI"list = []
;TI"?Psych.load_stream("--- foo\n...\n--- bar\n...") do |ruby|
;TI" list << ruby
;TI" end
;TI"list # => ['foo', 'bar'];T:@format0:
@fileI"ext/psych/lib/psych.rb;T:0@omit_headings_from_table_of_contents_below00I"to_ruby(**kwargs);T[ I"O(yaml, legacy_filename = NOT_GIVEN, filename: nil, fallback: [], **kwargs);T@FI"
Psych;TcRDoc::NormalModule00