class Pry::Code

def max_lineno_width

Returns:
  • (Integer) - the number of digits in the last line.
def max_lineno_width
  !@lines.empty? ? @lines.last.lineno.to_s.length : 0
end