method
new
v1_9_2_180 -
Show latest stable
- Class:
RDoc::Markup::ToRdoc
new()public
No documentation available.
# File lib/rdoc/markup/to_rdoc.rb, line 15
def initialize
super
@markup.add_special(/\\[^\s]/, :SUPPRESSED_CROSSREF)
@width = 78
@prefix = ''
init_tags
@headings = {}
@headings.default = []
@headings[1] = ['= ', '']
@headings[2] = ['== ', '']
@headings[3] = ['=== ', '']
@headings[4] = ['==== ', '']
@headings[5] = ['===== ', '']
@headings[6] = ['====== ', '']
end