each_with_object snippet for Ruby

I added a Ruby snippet for Enumerable#each_with_object.

I also added a space to the "each_with_index" snippet, because it was inconsistent with the block style of similar snippets.