Skip to content

Instantly share code, notes, and snippets.



Last active Dec 12, 2015
What would you like to do?
Condition with array of predicated
[true, false].reduce(&:&)
[true, false].reduce(&:|)
# the same
[true, false].any?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.