%PDF- %PDF-
Direktori : /opt/cpanel/ea-ruby24/root/usr/share/ri/system/Struct/ |
Current File : //opt/cpanel/ea-ruby24/root/usr/share/ri/system/Struct/select-i.ri |
U:RDoc::AnyMethod[iI"select:ETI"Struct#select;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"PYields each member value from the struct to the block and returns an Array ;TI"Ncontaining the member values from the +struct+ for which the given block ;TI"<returns a true value (equivalent to Enumerable#select).;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"/Lots = Struct.new(:a, :b, :c, :d, :e, :f) ;TI"*l = Lots.new(11, 22, 33, 44, 55, 66) ;TI"/l.select {|v| v.even? } #=> [22, 44, 66];T:@format0: @fileI" struct.c;T:0@omit_headings_from_table_of_contents_below0I"Xstruct.select {|obj| block } -> array struct.select -> enumerator ;T0[ I"(*args);T@FI"Struct;TcRDoc::NormalClass00