Vidyalelo
Ruby Programming · Q2

Best Practices and Code Conventions in Ruby

Programming · Ruby Programming · question 2

Q2

What is the recommended way to comment out multiple lines of code in Ruby?

A.
Using the syntax
B.
Using the # syntax
C.
Using the multiline comment syntax (=begin and =end)
Answer
D.
Using the // syntax

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board