summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaeson Lauritzen <80929711+auricbot@users.noreply.github.com>2022-06-10 22:22:16 -0700
committerGitHub <noreply@github.com>2022-06-10 22:22:16 -0700
commit7e1788e180cdcb370ac85152842e14eaf482dd59 (patch)
tree78c1a0b5c8b882b025eb4aaca05ba05257436df3
parent52da90aceefd9f8de06666796f6a2d484ca18036 (diff)
fix typo in dir documentation (#6002)
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
-rw-r--r--dir.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.rb b/dir.rb
index d2ed92c287..2e426b0881 100644
--- a/dir.rb
+++ b/dir.rb
@@ -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>.