method

accept_heading

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: 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

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# 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
Register or log in to add new notes.