Stop including Enumerable, return Enumerator instead … and check why 5600+ Rails engineers read also this Stop including Enumerable, return Enumerator instead Many times I have seen people including Enumerable module into their classes. But I cannot stop thinking that in many cases having methods such as each_with_index or take_while or minmax and many others that are available in Enumerable are n