Ruby - Loops and Iteration
What does the
each method return after iterating over an array in Ruby?each method return after iterating over an array in Ruby?each methodeach method in Ruby iterates over each element but does not change the original array or create a new one.eacheach returns the original array it was called on.each = original array [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions