class Diff::LCS::Hunk
def merge(hunk)
a truthy value so that if there is no overlap, you can know the merge
Merges this hunk and the provided hunk together if they overlap. Returns
def merge(hunk) if overlaps?(hunk) @start_old = hunk.start_old @start_new = hunk.start_new blocks.unshift(*hunk.blocks) else nil end end