mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
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
This commit is contained in:
parent
771064fa1d
commit
bee0756ea9
2 changed files with 7 additions and 2 deletions
4
dir.c
4
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue