method
new
v2_2_9 -
Show latest stable
- Class:
RDoc::Markup::ToHtmlSnippet
new(options, characters = 100, paragraphs = 3, markup = nil)public
Creates a new ToHtmlSnippet formatter that will cut off the input on the next word boundary after the given number of characters or paragraphs of text have been encountered.