method

update_current_line

rails latest stable - Class: HTML::Tokenizer

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.

update_current_line(text)
private

Counts the number of newlines in the text and updates the current line accordingly.