class IRB::StdioInputMethod

def line(line_no)

See IO#lineno for more information.

#line counts the number of times #gets is called.

Returns the current line number for #io.
def line(line_no)
  @line[line_no]
end