Examveda
Examveda

What does the 'gets' method do in Ruby?

A. Prints to console

B. Converts to string

C. Reads input from user

D. Finds the length

Answer: Option C


This Question Belongs to Ruby Programming >> Basic Syntax In Ruby

Join The Discussion

Related Questions on Basic Syntax in Ruby