and are not processed as part of the programming.
Good use of comments reflects great programming. Starting with the script title, version information, credits, instructions, to lines that separate class and methods down to the key notes.
In this lesson you will learn the two ways to make comments:
1.) line comments
To make a line comment in Ruby, simply use the pound sign
(a.k.a. the octothorpe, the hash, the number sign, or the square)
All syntax from the "#" to the end of the line is ignored when the program runs.
# everything after the number sign on this line will be bypassed
2.) block comments
to comment multiple lines or to create a comment block start with
place your commentary, then end the block with
everything in between will become a commentary
The color Green will indicate code that is being commented.
that's it! easy right? ^,^