I just wanted to concatenate multiple arrays in Ruby and couldn\'t find a satisfying way to do so.
Example input:
foo = [1, 2, 3] ba
If you've already determined that multiple concatenation is the fastest method, you can write it nicer using reduce:
[foo, bar, baz].reduce([], :concat)