mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc 2.5.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
37e59f5583
commit
75ef9e79d6
14 changed files with 169 additions and 77 deletions
|
@ -13,7 +13,6 @@ class XrefTestCase < MiniTest::Unit::TestCase
|
|||
|
||||
def setup
|
||||
RDoc::TopLevel.reset
|
||||
RDoc::AnyMethod.reset
|
||||
|
||||
@file_name = 'xref_data.rb'
|
||||
@xref_data = RDoc::TopLevel.new @file_name
|
||||
|
@ -36,6 +35,9 @@ class XrefTestCase < MiniTest::Unit::TestCase
|
|||
rdoc.generator = generator
|
||||
|
||||
@c1 = @xref_data.find_module_named 'C1'
|
||||
@c1_m = @c1.method_list.last # C1#m
|
||||
@c1__m = @c1.method_list.first # C1::m
|
||||
|
||||
@c2 = @xref_data.find_module_named 'C2'
|
||||
@c2_c3 = @xref_data.find_module_named 'C2::C3'
|
||||
@c3 = @xref_data.find_module_named 'C3'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue