public Method

ToLaTeX.accept_verbatim(am, fragment)

There's no documentation for this item.

Source Code

# File rdoc/markup/simple_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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.