str.dump   â new_str
  
	Instance Public methods
	Produces a version of str with all non-printing characters
replaced by \nnn notation and all special characters escaped.
"hello \n ''".dump #=> "\"hello \\n ''\"
Produces a version of str with all non-printing characters
replaced by \nnn notation and all special characters escaped.
"hello \n ''".dump #=> "\"hello \\n ''\"
 
          
Please login to continue.