5 Types Of Ruby Comments & How to Use Them Correctly
What are comments in Ruby? A Ruby comment adds information to your code that may be helpful for you or other developers. The most common type of comment is the single-line comment. Here’s the syntax: # I like apples & oranges Notice three things: The comment starts with a pound (#) symbol We put a … Read more