Cool tricks and expressive snippets with ruby collections/enumerables
What are your favorite code snippets with ruby collections? Preferably they should be discovery for you, be expressive, readable and introduce some fun in your coding practice.

Cool tricks and expressive snippets with ruby collections/enumerables
===

What are your favorite code snippets with ruby collections? Preferably they should be discovery for you, be expressive, readable and introduce some fun in your coding practice.
