Path: | lib/graphviz/types/esc_string.rb |
Last Update: | Wed Mar 10 13:59:50 +0000 2010 |
>> 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\""