Skip to content

Commit

Permalink
Merge pull request #917 from joshcooper/start_with_question
Browse files Browse the repository at this point in the history
(PA-7089) Apply upstream rdoc fix for start_with?
  • Loading branch information
mhashizume authored Sep 27, 2024
2 parents f65cb9c + 890baa7 commit dd4b02c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ index 5ba671ca1b..5b663d73fb 100644
+ 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
Expand Down

0 comments on commit dd4b02c

Please sign in to comment.