Sophrinix / TryRuby

Try Ruby is a interactive shell that quickly and whimsically teaches the Ruby programming language. Originally _why's idea, it has been recreated from the ground up by Rubyists who have a passion for Ruby and for teaching their fellow (wo)man how to program.
tryruby.org
345 stars 80 forks source link

Syntax error on Popup module breaks furthering tutorial #161

Open milesperhour1086 opened 12 years ago

milesperhour1086 commented 12 years ago

Using Google Chrome, I reached the Popup module part of the tutorial without error. I completed the first part where google.com was opened properly. However, I made a small typo on the second part where I'm supposed to create the to-do list.

I accidentally typed in the following (notice 'list.do') and when I added the second 'end', I got a syntax error: Popup.make do h1 "Things To Do" list.do p "Try out Ruby" p "Ride a tiger" p "(down River Euphrates)" end end

However, when I tried to re-enter the code above, I continued to get the syntax error when after I had changed 'list.do' to 'list do' as the tutorial suggested.