Comparing elements of two arrays for similarity

2010-03-29

When checking two arrays for similar elements, use:

(a & b).any? or (a & b).empty?

* 'or' in the snipplet above, is not an operator, but a geniune 'or'

From The Momoro Hoax

I’m currently working on fyra.sh, a CLI-first static site deployment tool where you push your site and it’s served globally through a built-in CDN, without the overhead of heavy platforms.