esc_string.rb

Path: lib/graphviz/types/esc_string.rb
Last Update: Tue Dec 06 12:45:00 +0000 2011

>> x = "hello\n\t\l\"world\""

> "hello\n\t\l\"world\""

>> puts x.inspect.gsub( "\\", "\" ) "hello\n\t\l\"world\""

OR

>> x = ‘hello\n\t\l"world"’

> "hello\n\t\l\"world\""

>> puts x.inspect.gsub( "\\", "\" ) "hello\n\t\l\"world\""

[Validate]