Friday, June 1, 2012

Array#include? with pattern match

To check if a pattern exists in an array