Ruby Split Array
Split is a very common method not only in Ruby, but also in the programming world. Let’s see what does .split means for a Ruby Array. Split method for a Ruby array Let’s start with a simple example : Yikes! It returns a 2D-Array. After all, it’s logical because you have asked to separate the …