Mega Code Archive

 
Categories / Ruby / Language Basics
 

Create comments in Ruby, using the # symbol

# When you use # on a line, everything you place after the # will be ignored by Ruby, although you can read it. puts "Hello from Ruby." #Display the text!