Nit pick: Enumerable#member? is under the hood, just an alias for Enumerable#include? and I believe the latter is a bit more idiomatic/preferred. Not a big deal either way, just reads better.