Powerful Ruby Enumerable Methods

Brham Dev Mahato
1 min readApr 2, 2020

Enumerable is a collection of iteration methods, a Ruby module, and a big part of what makes Ruby a great programming language. In Ruby, we also call an object enumerable when it describes a set of items and a method to loop over each of them.

Let's explore a few basic Enumerable methods and operations.

Array Enumerable methods

Array Enumerable methods

String Enumerable methods

String Enumerable methods

Other Enumerable methods

Other Enumerable methods

Conclusion

This covers the few basic Enumerable methods which are very useful while working with ruby.

--

--