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>
1 changed files with 1 additions and 1 deletions

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>.