= private = protected
line(line_no)
Returns the current line number for #io.
#line counts the number of times #gets is called.
See IO#lineno for more information.
# File lib/irb/input-method.rb, line 86 def line(line_no) @line[line_no] end