class Diff::LCS::Hunk

def overlaps?(hunk)

start or end positions is within one position of each other.
provided hunk. This will be true if the difference between the two hunks
Determines whether there is an overlap between this hunk and the
def overlaps?(hunk)
  hunk and (((@start_old - hunk.end_old) <= 1) or
            ((@start_new - hunk.end_new) <= 1))
end