class Diff internal
A Differ for comparing one set of values to another When #patch is called, will yield various patches to true up the old values with the new values. see: MovePatch, InsertPatch, UpdatePatch, and DeletePatch
#initialize(before, after) internal
constructor
Arguments
- before - array of before values
- after - array of after values
#patch internal
yields a sequence of patches to make
before the same as after
Returns
Returns nothing