Comments and Errors
In this video we'll look at comments and errors.
When to use
It's always a good idea to comment your code, whenever there is something significant to comment.
Ruby comments are created with #
Everything after # will be a comment.
For multi-line comments:
everthing between these two tags will be commented out
Hints & tips
- # comments
- Error statements are there to help us!
Lesson notes are only available for subscribers.