A bootstrap implementation of ruby search object pattern