class Rugged::Patch

def hunks

Returns an Array containing all hunks of the patch.
def hunks
  each_hunk.to_a
end