method

accept_paragraph

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

Method deprecated or moved

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

accept_paragraph(paragraph)
public

No documentation available.

# File lib/rdoc/markup/to_html_snippet.rb, line 68
  def accept_paragraph paragraph
    para = @in_list_entry.last || "<p>"

    text = paragraph.text @hard_break

    @res << "#{para}#{wrap to_html text}\n"

    add_paragraph
  end