Method: Diff::LCS.unpatch!

Defined in:
lib/gems/diff-lcs-1.1.2/lib/diff/lcs.rb

.unpatch!(src, patchset) ⇒ Object

Given a set of patchset, convert the current version to the prior version. Does no auto-discovery.



798
799
800
# File 'lib/gems/diff-lcs-1.1.2/lib/diff/lcs.rb', line 798

def unpatch!(src, patchset)
  Diff::LCS.patch(src, patchset, :unpatch)
end