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



54
55
56
57
# File 'lib/git/diff.rb', line 54

def patch(file = nil)
  cache_full
  @full_diff
end