Ruby TemplatePage::LineReader Functions

EditRocket provides the following information on TemplatePage::LineReader functions in the Ruby source code builder.

dup() - Return a copy of ourselves that can be modified without affecting us

new(lines) - we're initialized with an array of lines

read() - read the next line

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