Examveda
Examveda

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)

D. Using the // syntax

Answer: Option C


Join The Discussion

Related Questions on Best Practices and Code Conventions in Ruby