Create the merge sorting algorithm using Ruby.
Create a method called merge_sort that accepts an array.