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

ruby-changes:31048

From: charliesome <ko1@a...>
Date: Thu, 3 Oct 2013 09:43:09 +0900 (JST)
Subject: [ruby-changes:31048] charliesome:r43127 (trunk): * hash.c (env_update): [DOC] fix expected output, should be 0 instead

charliesome	2013-10-03 09:43:01 +0900 (Thu, 03 Oct 2013)

  New Revision: 43127

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43127

  Log:
    * hash.c (env_update): [DOC] fix expected output, should be 0 instead
      of 10. Patch by @yakko. [GH-411]

  Modified files:
    trunk/hash.c
Index: hash.c
===================================================================
--- hash.c	(revision 43126)
+++ hash.c	(revision 43127)
@@ -3552,7 +3552,7 @@ env_update(VALUE env, VALUE hash) https://github.com/ruby/ruby/blob/trunk/hash.c#L3552
  *
  *  Accessing a value in a Hash requires using its key:
  *
- *    puts grades["Jane Doe"] # => 10
+ *    puts grades["Jane Doe"] # => 0
  *
  *  === Common Uses
  *

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

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