inspect() public

Returns a printable version of str, with special characters escaped.

str = "hello"
str[3] = 8
str.inspect       #=> "hel\010o"
Show source
Register or log in to add new notes.