Is there any equivalent of `to_s` in Ruby? -


i know 123.to_s gives "123". looking other way have same output 123.

is possible?

kernel#string you.

string(123) #=> "123" 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -