esc_string.rb

Path: lib/graphviz/types/esc_string.rb
Last Update: Wed Feb 02 21:58:10 +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]