sig/annotate/rdoc_annotater.rbs in rbs-3.2.2 vs sig/annotate/rdoc_annotater.rbs in rbs-3.3.0.pre.1

- old
+ new

@@ -15,10 +15,10 @@ interface _PathTester def test_path: (String) -> bool end interface _WithRDocComment - def comment: () -> RDoc::Markup::Document + def comment: () -> (RDoc::Markup::Document | RDoc::Comment | String) end def each_part: (Array[Object & _WithRDocComment], tester: _PathTester) { ([RDoc::Markup::Document, Object & _WithRDocComment]) -> void } -> void | (Array[Object & _WithRDocComment], tester: _PathTester) -> Enumerator[[RDoc::Markup::Document, Object & _WithRDocComment], void]