.to_s confusion


#1

So I do not remember seeing .to_s anywhere else in any of the lessons and now it wants me to use it in my code. Could someone explain what it does. Also I checked the glossary and in the .each section it also had .to_a I have no clue what this does wrong either.

Thanks in Advance,
Christopher Davies


#2

to_s converts into a string, to_a converts into an array.


#3

yea i see this now when they explained .to_sym and .to_i. Thank you for the clarification I just wish they had done it.