method

accept_heading

ruby latest stable - Class: RDoc::Markup::ToTexInfo

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_1_378) is shown here.

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