You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of section 2.3.2 in the eBook, the code is correct, but the formatting was perplexing me for some time. The end for the initializer do..end looks like it closes the class definition. And the 2-space tabbing goes to 3 in the generators block.
At the end of section 2.3.2 in the eBook, the code is correct, but the formatting was perplexing me for some time. The
end
for theinitializer
do..end looks like it closes theclass
definition. And the 2-space tabbing goes to 3 in the generators block.I've updated mine to look as follows:
The text was updated successfully, but these errors were encountered: