accept_heading(attributes, text)public
No documentation available.
# File lib/rdoc/markup/to_texinfo.rb, line 31
def accept_heading(attributes, text)
heading = ['@majorheading', '@chapheading'][text.head_level - 1] || '@heading'
@text << "#{heading} #{format(text)}"
end