Typo report


#1


Hi,
I am Axel, learning Ruby.
In Ruby/loops & iterators/the .each iterator, I thing there is a typo issue: we have that line of code in the explanation on the left side of the screnn

object.each do |item| # Do something end ==> which is good but end is italic and grey whereas it should be as the do of the bit of code so purple/pink and not italic.

Just to report, let me know if I am right or wrong, anyway new course soon on the topic!!

My best,

Axel


#2

It seems to me that you are right.
In module 11 The .each iterator both examples have part of the code commented out.
The first one has the curly brace of the block } commented out
The second block has the keyword end commented out

That sharp eye will serve you well


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.