From d0708e9e2a13b8dd98cbf7e0f1b67cee5f9cdfa4 Mon Sep 17 00:00:00 2001 From: kazu Date: Tue, 7 Mar 2017 13:04:39 +0000 Subject: string.c: [DOC] Fix a typo in String#dump [Fix GH-1531][ci skip] Author: Alex Semyonov git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index be74fd8b72..523d1e5ca7 100644 --- a/string.c +++ b/string.c @@ -5787,7 +5787,7 @@ rb_str_inspect(VALUE str) * Produces a version of +str+ with all non-printing characters replaced by * \nnn notation and all special characters escaped. * - * "hello \n ''".dump #=> "\"hello \\n ''\" + * "hello \n ''".dump #=> "\"hello \\n ''\"" */ VALUE -- cgit v1.2.3