class YARP::Location

def end_line

The line number where this location ends.
def end_line
  source.line(end_offset - 1)
end