Iterators
This lesson goes through Iterators in Ruby and will show you how they can be chainable.
Iterators are Chainable!
Methods on arrays and hashes that take a block are also called iterators.
We say they iterate over the array, meaning that these methods take each element of the array and do something with it. ...
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy