[前][次][番号順一覧][スレッド一覧]

ruby-changes:45729

From: kazu <ko1@a...>
Date: Tue, 7 Mar 2017 22:04:44 +0900 (JST)
Subject: [ruby-changes:45729] kazu:r57802 (trunk): string.c: [DOC] Fix a typo in String#dump

kazu	2017-03-07 22:04:39 +0900 (Tue, 07 Mar 2017)

  New Revision: 57802

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57802

  Log:
    string.c: [DOC] Fix a typo in String#dump
    
    [Fix GH-1531][ci skip]
    Author:    Alex Semyonov <alex@s...>

  Modified files:
    trunk/string.c
Index: string.c
===================================================================
--- string.c	(revision 57801)
+++ string.c	(revision 57802)
@@ -5787,7 +5787,7 @@ rb_str_inspect(VALUE str) https://github.com/ruby/ruby/blob/trunk/string.c#L5787
  *  Produces a version of +str+ with all non-printing characters replaced by
  *  <code>\nnn</code> notation and all special characters escaped.
  *
- *    "hello \n ''".dump  #=> "\"hello \\n ''\"
+ *    "hello \n ''".dump  #=> "\"hello \\n ''\""
  */
 
 VALUE

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]