method

new

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.

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.