Implement the *ect methods of Ruby's Enumerable module