Method: Git::Diff#patch

Defined in:
lib/git/diff.rb

#patch(file = nil) Also known as: to_s

if file is provided and is writable, it will write the patch into the file


56
57
58
59
# File 'lib/git/diff.rb', line 56

def patch(file = nil)
  cache_full
  @full_diff
end