I have made it to the halfway point. Exercise 26, boom!
Here is the fixed code for ex26.rb:
And the output:
This was not as difficult as I thought it would be… mostly because it is code I have seen in the past two exercises. Also, Sublime Text is helpful with its colors. One thing I unexpectedly missed was the line with escape sequences. With single quotation marks around the string, the escape sequences did not work (no new lines, no tabs). After fixing it to double quotation marks, we get our new lines and tabs.
I really appreciate error messages… they’re so helpful with the specific error type and lines.