method

new

rails latest stable - Class: HTML::Text

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(parent, line, pos, content)
public

Creates a new text node as a child of the given parent, with the given content.