What is the Ruby way to achieve following?
a = [1,2]
b = [3,4]
I want an array:
=> [f(1,3) ,f(1,4) , f(2,3) ,f(2,4)]
What is the Ruby way to achieve following?
a = [1,2]
b = [3,4]
I want an array:
=> [f(1,3) ,f(1,4) , f(2,3) ,f(2,4)]