Scott Watermasysk
Ruby Enumerable#any?
At first glance, this is not what I was expecting:
[false, false, false].any? => false
But a quick glance at the docs:
The method returns true if the block ever returns a value other than false or nil
This can be handy for doing a bunch of small tests and detecting if anything passed.