summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-13 18:49:40 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-06-13 18:49:40 +0000
commitac9d6faafea77f24ce0de1d6c10c122cf6adb45a (patch)
treee6d9f68ace1adf3b2291cb8c7665d607f1a01fd7 /dir.c
parent1ce12771c094e49283ffe9dbc9c083f8b5450c8d (diff)
merge revision(s) 55120: [Backport #12413]
* dir.c (dir_close): update RDoc for 2.3 #close change [ruby-core:75679] [Bug #12413] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dir.c b/dir.c
index 3e46dda0e8..6a63172e85 100644
--- a/dir.c
+++ b/dir.c
@@ -885,8 +885,8 @@ dir_rewind(VALUE dir)
* call-seq:
* dir.close -> nil
*
- * Closes the directory stream. Any further attempts to access
- * <em>dir</em> will raise an <code>IOError</code>.
+ * Closes the directory stream.
+ * Calling this method on closed Dir object is ignored since Ruby 2.3.
*
* d = Dir.new("testdir")
* d.close #=> nil