method

display_heading

ruby latest stable - Class: RDoc::RI::AnsiFormatter

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.

display_heading(text, level, indent)
public

No documentation available.

# File lib/rdoc/ri/formatter.rb, line 412
  def display_heading(text, level, indent)
    level = 3 if level > 3
    heading = HEADINGS[level]
    @output.print indent
    @output.print heading[0]
    @output.print strip_attributes(text)
    @output.puts heading[1]
  end