aboutsummaryrefslogtreecommitdiffstats
path: root/dir.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-22 23:09:38 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-22 23:09:38 +0000
commit3177bf34607b576edc5eea56b098f02d83188e93 (patch)
tree453b8052319ad38e5c54b1a823dd450c1ab3c35a /dir.c
parentf99b97530ec5aae04b8ef15d0fcd9bb89b7a7077 (diff)
downloadruby-3177bf34607b576edc5eea56b098f02d83188e93.tar.gz
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/trunk@55120 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 d00b13ef43..eb89d23894 100644
--- a/dir.c
+++ b/dir.c
@@ -908,8 +908,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