Path: | lib/graphviz/types/esc_string.rb |
Last Update: | Wed Jul 18 14:09:36 +0000 2012 |
>> 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\""