add a snippet for Ruby `Enumerable#partition`