Sync RDoc 6.14.0

This commit is contained in:
Stan Lo 2025-05-22 22:49:04 +01:00 committed by Takashi Kokubun
parent ca1ea95784
commit 03eb777c69
185 changed files with 2008 additions and 1655 deletions

View file

@ -9,19 +9,15 @@ class XrefTestCase < RDoc::TestCase
def setup
super
@options = RDoc::Options.new
@options.quiet = true
@rdoc.options = @options
@file_name = 'xref_data.rb'
@xref_data = @store.add_file @file_name
@top_level = @xref_data
stats = RDoc::Stats.new @store, 0
parser = RDoc::Parser::Ruby.new @xref_data, @file_name, XREF_DATA, @options,
stats
parser = RDoc::Parser::Ruby.new @xref_data, XREF_DATA, @options, stats
@example_md = @store.add_file 'EXAMPLE.md'
@example_md.parser = RDoc::Parser::Markdown
@ -31,9 +27,6 @@ class XrefTestCase < RDoc::TestCase
@top_levels.push @example_md
generator = Object.new
def generator.class_dir() nil end
def generator.file_dir() nil end
@rdoc.options = @options
@rdoc.generator = generator
@c1 = @xref_data.find_module_named 'C1'