Ruby comments are lines in a program that are not executable. Because the interpreter ignores these lines, they are not executed during program execution. They are created by programmers to explain their code so that others who examine it can better understand it.
The # character starts a Ruby single-line comment, which ends at the end of the line. The Ruby interpreter ignores any characters between the # character and the end of the line.
Share With Friend
Have a friend to whom you would want to share this course?
Download LearnVern App
Code Scan
or
Download the app
598K+
Downloads
4.57
Avg. Ratings
15K+
Reviews
Learn anywhere on the go
Get regular updates about your enrolled or new courses
Share content with your friends
Evaluate your progress through practice tests
No internet connection needed
Enroll for the webinar and join at the time of the webinar from anywhere
Enjoying this course!
All the Courses on Learnvern are Free! So Register/Sign in to
have Access all the Courses and Videos.