method

new

rails latest stable - Class: HTML::Document

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

new(text, strict=false, xml=false)
public

Create a new Document from the given text.