new

new(options, characters = 100, paragraphs = 3, markup = nil)
Class Public methods

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.

doc_ruby_on_rails
2015-05-02 23:22:52
Comments
Leave a Comment

Please login to continue.