What is the method used to convert a value to string in Ruby?
A. .to_s
B. .to_string
C. .convert_string
D. .parse_string
Answer: Option A
Related Questions on Data Types and Variables in Ruby
What is the default value of a variable in Ruby if not initialized?
A. 0
B. nil
C. "undefined"
D. FALSE
Join The Discussion