U:RDoc::AnyMethod[iI"collect_concat:ETI"$Enumerator::Lazy#collect_concat;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"LReturns a new lazy enumerator with the concatenated results of running ;TI"8block once for every element in lazy.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim; [I"?["foo", "bar"].lazy.flat_map {|i| i.each_char.lazy}.force ;TI"(#=> ["f", "o", "o", "b", "a", "r"] ;T: @format0o; ; [I"JA value x returned by block is decomposed if either of ;TI"&the following conditions is true:;T@o; ; [I"Ca) x responds to both each and force, which means that ;TI"' x is a lazy enumerator. ;TI"4b) x is an array or responds to to_ary. ;T; 0o; ; [I"@Otherwise, x is contained as-is in the return value.;T@o; ; [I"0[{a:1}, {b:2}].lazy.flat_map {|i| i}.force ;TI"#=> [{:a=>1}, {:b=>2}];T; 0: @fileI"enumerator.c;T:0@omit_headings_from_table_of_contents_below0I"=lazy.collect_concat { |obj| block } -> a_lazy_enumerator;T0[I"();T@$FI" Lazy;TcRDoc::NormalClass00