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

ruby-changes:28270

From: hsbt <ko1@a...>
Date: Tue, 16 Apr 2013 15:28:45 +0900 (JST)
Subject: [ruby-changes:28270] hsbt:r40322 (trunk): fix ENV.to_a rdoc example by @benolee [fix GH-288]

hsbt	2013-04-16 15:28:35 +0900 (Tue, 16 Apr 2013)

  New Revision: 40322

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

  Log:
    fix ENV.to_a rdoc example by @benolee [fix GH-288]

  Modified files:
    trunk/hash.c

Index: hash.c
===================================================================
--- hash.c	(revision 40321)
+++ hash.c	(revision 40322)
@@ -2926,7 +2926,7 @@ env_inspect(void) https://github.com/ruby/ruby/blob/trunk/hash.c#L2926
  *
  * Converts the environment variables into an array of names and value arrays.
  *
- *   ENV.to_a # => [["TERM" => "xterm-color"], ["SHELL" => "/bin/bash"], ...]
+ *   ENV.to_a # => [["TERM", "xterm-color"], ["SHELL", "/bin/bash"], ...]
  *
  */
 static VALUE

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

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