diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 04:59:24 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-06-16 04:59:24 +0000 |
commit | b7528b5edb1f9148ea00ebb6151720e5943b3f0b (patch) | |
tree | 4caf55c53adb188170240f54b924892fbc5f9814 /test/rdoc/test_rdoc_stats.rb | |
parent | 97ac172d58d695305c39d555155318edb99f1ea7 (diff) | |
download | ruby-b7528b5edb1f9148ea00ebb6151720e5943b3f0b.tar.gz |
* lib/rdoc.rb: Import RDoc 3.7 release candidate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rdoc/test_rdoc_stats.rb')
-rw-r--r-- | test/rdoc/test_rdoc_stats.rb | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/rdoc/test_rdoc_stats.rb b/test/rdoc/test_rdoc_stats.rb index 17458adaa4..0bf08334da 100644 --- a/test/rdoc/test_rdoc_stats.rb +++ b/test/rdoc/test_rdoc_stats.rb @@ -17,7 +17,7 @@ class TestRDocStats < MiniTest::Unit::TestCase tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl a = RDoc::Attr.new nil, 'a', 'RW', nil a.record_location tl @@ -43,7 +43,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl a = RDoc::Attr.new nil, 'a', 'RW', 'a' a.record_location tl @@ -60,7 +60,7 @@ end tl = RDoc::TopLevel.new 'file.rb' m = tl.add_module RDoc::NormalModule, 'M' m.record_location tl - m.comment = 'M' + m.add_comment 'M', tl c = RDoc::Constant.new 'C', nil, nil c.record_location tl @@ -152,7 +152,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl m = RDoc::AnyMethod.new nil, 'm' m.record_location tl @@ -170,7 +170,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c1 = tl.add_class RDoc::NormalClass, 'C1' c1.record_location tl - c1.comment = 'C1' + c1.add_comment 'C1', tl m1 = RDoc::AnyMethod.new nil, 'm1' m1.record_location tl @@ -231,7 +231,7 @@ The following items are not documented: c2 = tl.add_class RDoc::NormalClass, 'C2' c2.record_location tl - c2.comment = 'C2' + c2.add_comment 'C2', tl RDoc::TopLevel.complete :public @@ -291,7 +291,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl m1 = RDoc::AnyMethod.new nil, 'm1' m1.record_location tl @@ -324,7 +324,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl m = RDoc::AnyMethod.new nil, 'm' m.record_location tl @@ -342,7 +342,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl m1 = RDoc::AnyMethod.new nil, 'm1' m1.record_location tl @@ -379,7 +379,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl m = RDoc::AnyMethod.new nil, 'm' m.record_location tl @@ -399,7 +399,7 @@ end tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl m = RDoc::AnyMethod.new nil, 'm' m.record_location tl @@ -505,7 +505,7 @@ Total: 1 (1 undocumented) tl = RDoc::TopLevel.new 'file.rb' c = tl.add_class RDoc::NormalClass, 'C' c.record_location tl - c.comment = 'C' + c.add_comment 'C', tl m = RDoc::AnyMethod.new nil, 'm' m.record_location tl |