method
select
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
select()
public
Invokes the block passing in successive elements from self, returning an array containing those elements for which the block returns a true value (equivalent to Enumerable#select).
If no block is given, an enumerator is returned instead.
a = %w{ a b c d e f } a.select {|v| v =~ /[aeiou]/} #=> ["a", "e"]