Comments
Published Jul 23, 2021Updated Sep 9, 2021
Contribute to Docs
Commenting code helps programmers write free text that is commonly used to explain the code written, or can even be used to add TO-DOs to the code.
Single-line Comments
Single-line comments start with a #
.
# I am a single line comment.
Multi-line comments
Multi-line comments start with =begin
and end with =end
.
=beginI am a multi line comment.I can take as many lines as needed.=end
All contributors
- Anonymous contributorAnonymous contributor3077 contributions
- christian.dinh
- Anonymous contributor
Looking to contribute?
- Learn more about how to get involved.
- Edit this page on GitHub to fix an error or make an improvement.
- Submit feedback to let us know how we can improve Docs.