method
select
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
select()
public
Returns an array containing all elements of enum for which block is not false (see also Enumerable#reject).
(1..10).find_all {|i| i % 3 == 0 } #=> [3, 6, 9]
select()
public
Returns an array containing all elements of enum for which block is not false (see also Enumerable#reject).
(1..10).find_all {|i| i % 3 == 0 } #=> [3, 6, 9]