global
def sdiff(seq1, seq2, callbacks = nil, &block) #:yields diff changes:
to #finish, it will be called.
initialise it. If the +callbacks+ object (possibly initialised) responds
Class argument is provided for +callbacks+, #diff will attempt to
behaviour may be implemented with Diff::LCS::ContextDiffCallbacks. If a
See Diff::LCS::SDiffCallbacks for the default behaviour. An alternate
- > new
before | after
same same
old < -
sdiff does:
minimized differences side by side, just like the Unix utility
#sdiff computes all necessary components to show two sequences and their
def sdiff(seq1, seq2, callbacks = nil, &block) #:yields diff changes: diff_traversal(:sdiff, seq1, seq2, callbacks || Diff::LCS::SDiffCallbacks, &block) end