method

read_up_to

ruby latest stable - Class: TemplatePage::LineReader

Method deprecated or moved

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

read_up_to(pattern)
public

Return a list of lines up to the line that matches a pattern. That last line is discarded.