Filtre via la gamme de tableaux rubis

array = [1, 2, 3, 4, 5, 6]
array.select { |number| number > 3 } # => [4, 5, 6]
Witty Wombat