diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-05 22:20:15 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-12-05 22:20:15 +0000 |
commit | 54c40f3db59d6875de0c2c0f47ab7edce0bd3f43 (patch) | |
tree | 6dc4fc7137f7d98e84fe01b7270ab08a2f22718f /lib/rdoc/markup/heading.rb | |
parent | fe6b2e20e9f17ed2c2900aa72994e075ffdc7124 (diff) | |
download | ruby-54c40f3db59d6875de0c2c0f47ab7edce0bd3f43.tar.gz |
* lib/rdoc*: Improved display of ChangeLog files as HTML.
* test/rdoc*: Test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/markup/heading.rb')
-rw-r--r-- | lib/rdoc/markup/heading.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rdoc/markup/heading.rb b/lib/rdoc/markup/heading.rb index b72c3e2b14..b1f372222f 100644 --- a/lib/rdoc/markup/heading.rb +++ b/lib/rdoc/markup/heading.rb @@ -1,7 +1,8 @@ ## # A heading with a level (1-6) and text -class RDoc::Markup::Heading < Struct.new :level, :text +RDoc::Markup::Heading = + Struct.new :level, :text do @to_html = nil @to_label = nil |