How to comment multiple lines in ruby?
A. Using multiline comments
B. Using single line comments
C. No option to comment
D. All of the mentioned
Answer: Option A
A. Using multiline comments
B. Using single line comments
C. No option to comment
D. All of the mentioned
Answer: Option A
What does the 'puts' method do in Ruby?
A. Prints to console
B. Converts to string
C. Finds the length
D. Reads input from user
Join The Discussion