Vidyalelo
Ruby Programming · Q53

Basic Syntax in Ruby

Programming · Ruby Programming · question 53

Q53

What does the 'return' keyword do in Ruby methods?

A.
Exits the method with a value
Answer
B.
Prints to console
C.
Converts to integer
D.
Continues the loop

Answer: Option A

Solution

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