Question:

Integers have useful built-in methods too. Convert the number 5 to the string "5".

Answer:

5.to_s

to_s stands for "to string"


Keywords:

© 2017 QuizBucket.org