⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
Enumerator
/
Lazy
/
View File Name :
flat_map-i.ri
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";+block+ once for every element in the lazy enumerator.;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"@A value +x+ returned by +block+ is decomposed if either of ;TI"&the following conditions is true:;T@o:RDoc::Markup::List: @type:BULLET:@items[o:RDoc::Markup::ListItem:@label0; [o; ; [I";+x+ responds to both each and force, which means that ;TI"+x+ is a lazy enumerator.;To;;0; [o; ; [I"++x+ is an array or responds to to_ary.;T@o; ; [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"wlazy.collect_concat { |obj| block } -> a_lazy_enumerator lazy.flat_map { |obj| block } -> a_lazy_enumerator ;T0[[I"collect_concat;T@ [I"_enumerable_flat_map;T@ I"();T@,FI" Lazy;TcRDoc::NormalClass00