method

accept_heading

v1_9_1_378 - Show latest stable - Class: RDoc::Markup::ToTexInfo
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