dump

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 ''\"
doc_ruby_on_rails
2015-05-15 15:42:02
Comments
Leave a Comment

Please login to continue.