Path: | lib/graphviz/types/esc_string.rb |
Last Update: | Thu Jan 20 22:59:30 +0000 2011 |
>> x = "hello\n\t\l\"world\""
>> puts x.inspect.gsub( "\\", "\" ) "hello\n\t\l\"world\""
OR
>> x = ‘hello\n\t\l"world"’
>> puts x.inspect.gsub( "\\", "\" ) "hello\n\t\l\"world\""