[ruby] How to split (chunk) a Ruby array into parts of X elements?