mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
parent
f5dc9c98e5
commit
385c31e770
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ class RDoc::Store
|
|||
case obj
|
||||
when true, false, nil, Array, Class, Encoding, Hash, Integer, String, Symbol, RDoc::Text
|
||||
else
|
||||
unless obj.class.name.start_with("RDoc::")
|
||||
unless obj.class.name.start_with?("RDoc::")
|
||||
raise TypeError, "not permitted class: #{obj.class.name}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue