|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/ruby18/share/ri/1.8/system/Enumerable/ |
--- !ruby/object:RI::MethodDescription
aliases: []
block_params:
comment:
- !ruby/struct:SM::Flow::P
body: Returns an array containing all elements of <em>enum</em> for which <em>block</em> is not <tt>false</tt> (see also <tt>Enumerable#reject</tt>).
- !ruby/struct:SM::Flow::VERB
body: " (1..10).find_all {|i| i % 3 == 0 } #=> [3, 6, 9]\n"
full_name: Enumerable#select
is_singleton: false
name: select
params: |
enum.find_all {| obj | block } => array
enum.select {| obj | block } => array
visibility: public