10 lines
296 B
Ruby
10 lines
296 B
Ruby
# A comment, this is so you can read your program later.
|
|
# Anything after the # is ignored by Ruby.
|
|
|
|
puts "I could have code like this." # and the comment after is ignored.
|
|
|
|
# You can also use a comment to "disable" or comment out a piece of code:
|
|
# puts "This won't run."
|
|
|
|
puts "This will run."
|