summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-11-10 18:55:27 +0900
committergit <svn-admin@ruby-lang.org>2025-11-10 10:00:00 +0000
commitae0dd72b96ebd6e968ac639d08126e989cebf366 (patch)
tree07576db1dc0a0b5684ac34c5307055b22dcf7042
parent95c4ca62a891c4bad936c24f97959ae428661585 (diff)
[ruby/tempfile] [DOC] Suppress documentation for internals
https://github.com/ruby/tempfile/commit/475d719e4d
-rw-r--r--lib/tempfile.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 7292e72c25..27ebb96439 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -564,6 +564,8 @@ def Tempfile.create(basename="", tmpdir=nil, mode: 0, anonymous: false, **option
end
class << Tempfile
+# :stopdoc:
+
private def create_with_filename(basename="", tmpdir=nil, mode: 0, **options)
tmpfile = nil
Dir::Tmpname.create(basename, tmpdir, **options) do |tmpname, n, opts|