summaryrefslogtreecommitdiff
path: root/tool/lib
diff options
context:
space:
mode:
authorTim Smith <[email protected]>2025-06-16 22:15:47 -0700
committerHiroshi SHIBATA <[email protected]>2025-06-18 07:51:16 +0900
commit3cfd71e7e48475d8d36ad1f1f4ca7924f67ef72e (patch)
tree0f66a6a97fe61a89201cecabf175c669e28fca0c /tool/lib
parentc6a6645495d849735132162187bd8a69c009b7c6 (diff)
Fix minor typos in comments, specs, and docs
Just a bit of minor cleanup Signed-off-by: Tim Smith <[email protected]>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13636
Diffstat (limited to 'tool/lib')
-rw-r--r--tool/lib/_tmpdir.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/lib/_tmpdir.rb b/tool/lib/_tmpdir.rb
index fd429dab37..daa1a1f235 100644
--- a/tool/lib/_tmpdir.rb
+++ b/tool/lib/_tmpdir.rb
@@ -4,11 +4,11 @@ template = "rubytest."
# Assume the directory by these environment variables are safe.
base = [ENV["TMPDIR"], ENV["TMP"], "/tmp"].find do |tmp|
next unless tmp and tmp.size <= 50 and File.directory?(tmp)
- # On macOS, the default TMPDIR is very long, inspite of UNIX socket
- # path length is limited.
+ # On macOS, the default TMPDIR is very long, in spite of UNIX socket
+ # path length being limited.
#
# Also Rubygems creates its own temporary directory per tests, and
- # some tests copy the full path of gemhome there. In that caes, the
+ # some tests copy the full path of gemhome there. In that case, the
# path contains both temporary names twice, and can exceed path name
# limit very easily.
tmp