Mega Code Archive

 
Categories / Ruby / Language Basics
 

What are Comments

A comment hides lines from the Ruby interpreter so that the lines are discarded or ignored.  You can make a comment run over several lines, like this: # This is a comment. # This is a comment, too. # This is a comment, too. # I said that already.