filter ruby

[1,2,3,4,5].select {|num| num.even? }
5alidshammout