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? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -