aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc/markup/heading.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rdoc/markup/heading.rb')
-rw-r--r--lib/rdoc/markup/heading.rb3
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