To do the equivalent of Python list comprehensions, I\'m doing the following:
some_array.select{|x| x % 2 == 0 }.collect{|x| x * 3}
Is ther
This is more concise:
[1,2,3,4,5,6].select(&:even?).map{|x| x*3}