how to write multiline comments and example for that one | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to write multiline comments and example for that one

multiline comment

22nd Mar 2017, 4:53 PM
ragul
ragul - avatar
2 Answers
+ 5
=begin first example a multi line comment =end """ second example a multi line comment however adding a "puts" statement at the start before quotation marks are added outputs a multi line string """
23rd Mar 2017, 7:31 AM
MrCoder
MrCoder - avatar
+ 4
=begin anything you type here is commented =end
22nd Mar 2017, 4:56 PM
Garan Weber
Garan Weber - avatar