Skip to content

Commit caf40a3

Browse files
nobumatzbot
authored andcommitted
[ruby/pp] [DOC] Suppress documentation for internals
ruby/pp@e1f39cb39c
1 parent 54b5f83 commit caf40a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/pp.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def pop_inspect_key(id)
174174
Thread.current[:__recursive_key__][:inspect].delete id
175175
end
176176

177-
private def guard_inspect(object)
177+
private def guard_inspect(object) # :nodoc:
178178
recursive_state = Thread.current[:__recursive_key__]
179179

180180
if recursive_state&.key?(:inspect)
@@ -277,7 +277,7 @@ def seplist(list, sep=nil, iter_method=:each) # :yield: element
277277
kwsplat ? yield(*v, **kwsplat) : yield(*v)
278278
}
279279
end
280-
EMPTY_KWHASH = if RUBY_VERSION >= "3.0"
280+
EMPTY_KWHASH = if RUBY_VERSION >= "3.0" # :nodoc:
281281
{}.freeze
282282
end
283283
private_constant :EMPTY_KWHASH

0 commit comments

Comments
 (0)