Path: | lib/graphviz/types/esc_string.rb |
Last Update: | Sun Dec 04 07:22:54 +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\""