method

convert_heading

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

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.

convert_heading(level, flow)
private

No documentation available.

# File lib/rdoc/markup/to_latex.rb, line 260
  def convert_heading(level, flow)
    res =
      case level
      when 1 then "\\chapter{"
      when 2 then "\\section{"
      when 3 then "\\subsection{"
      when 4 then "\\subsubsection{"
      else  "\\paragraph{"
      end +
      convert_flow(flow) +
      "}\n"
  end