I try to keep a list of Ruby tricks in my head that could be used to improve
commonly used patterns in my code. However, even if you know them all,
sometimes you keep forgetting. So here is my cheat sheet of Ruby idioms.
While this is by no means a complete list, I hope that some of them might
be new or useful to someone reading through them.