Skip to content

Commit dd4b02c

Browse files
authored
Merge pull request puppetlabs#917 from joshcooper/start_with_question
(PA-7089) Apply upstream rdoc fix for start_with?
2 parents f65cb9c + 890baa7 commit dd4b02c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/patches/ruby_27/0001-Filter-marshaled-objects-ruby30.patch

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ index 5ba671ca1b..5b663d73fb 100644
8080
+ case obj
8181
+ when true, false, nil, Array, Class, Encoding, Hash, Integer, String, Symbol, RDoc::Text
8282
+ else
83-
+ unless obj.class.name.start_with("RDoc::")
83+
+ unless obj.class.name.start_with?("RDoc::")
8484
+ raise TypeError, "not permitted class: #{obj.class.name}"
8585
+ end
8686
+ end

0 commit comments

Comments
 (0)