method

accept_verbatim

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.

accept_verbatim(am, fragment)
public

No documentation available.

# File lib/rdoc/markup/to_latex.rb, line 106
  def accept_verbatim(am, fragment)
    @res << "\n\\begin{code}\n"
    @res << fragment.txt.sub(/[\n\s]+\Z/, '')
    @res << "\n\\end{code}\n\n"
  end