diff options
author | Hiroshi SHIBATA <[email protected]> | 2024-03-21 13:18:13 +0900 |
---|---|---|
committer | git <[email protected]> | 2024-03-21 04:18:26 +0000 |
commit | 385c31e770566b2f07f3222464f08886fcedc31e (patch) | |
tree | 383abac7269a2edc167f7a517021c1f6c3eae1ad /lib/rdoc | |
parent | f5dc9c98e58aff9a8c9b269d4a7f5a2733954520 (diff) |
[ruby/rdoc] Fix NoMethodError for start_with
https://github.com/ruby/rdoc/commit/e21dfccb4a
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/store.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rdoc/store.rb b/lib/rdoc/store.rb index 495def5791..cd27d47dd1 100644 --- a/lib/rdoc/store.rb +++ b/lib/rdoc/store.rb @@ -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 |