1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

fix typo in dir documentation (#6002)

This commit is contained in:
Jaeson Lauritzen 2022-06-10 22:22:16 -07:00 committed by GitHub
parent 52da90acee
commit 7e1788e180
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2022-06-11 14:22:39 +09:00
Merged-By: k0kubun <takashikkbn@gmail.com>

2
dir.rb
View file

@ -65,7 +65,7 @@
#
# - ::each_child: Calls the given block with each entry in the given directory,
# but not including <tt>.</tt> or <tt>..</tt>.
# - ::foreach: Calls the given block with each entryin the given directory,
# - ::foreach: Calls the given block with each entry in the given directory,
# including <tt>.</tt> and <tt>..</tt>.
# - #each: Calls the given block with each entry in +self+,
# including <tt>.</tt> and <tt>..</tt>.