aboutsummaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-16 06:28:35 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-16 06:28:35 +0000
commitda91385f2c242ac2fbf9f2f3e64e27a78096de11 (patch)
treef538f74c7edf6eebf392ab2c337ee543c4806ffd /hash.c
parent8d1d9fc133569fa45bf2cac026680115fd0337cf (diff)
downloadruby-da91385f2c242ac2fbf9f2f3e64e27a78096de11.tar.gz
fix ENV.to_a rdoc example by @benolee [fix GH-288]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 9a0f71db9a..a06e7a352b 100644
--- a/hash.c
+++ b/hash.c
@@ -2926,7 +2926,7 @@ env_inspect(void)
*
* 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