| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/Enumerator/Lazy/ |
Upload File : |
U:RDoc::AnyMethod[iI"
flat_map:ETI"Enumerator::Lazy#flat_map;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LReturns a new lazy enumerator with the concatenated results of running ;TI"8<i>block</i> once for every element in <i>lazy</i>.;To:RDoc::Markup::BlankLine o: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 <i>x</i> returned by <i>block</i> is decomposed if either of ;TI"&the following conditions is true:;T@o;; [I"Ca) <i>x</i> responds to both each and force, which means that
;TI"' <i>x</i> is a lazy enumerator.
;TI"4b) <i>x</i> is an array or responds to to_ary.
;T;
0o;
; [I"@Otherwise, <i>x</i> 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.flat_map { |obj| block } -> a_lazy_enumerator;T0[ I"();T@$FI" Lazy;TcRDoc::NormalClass00