Object
Returns the number of changes in the patch.
# File lib/rugged/patch.rb, line 17 def changes stat.reduce { |t,v| t + v } end
Returns an Array containing all hunks of the patch.
# File lib/rugged/patch.rb, line 22 def hunks each_hunk.to_a end
# File lib/rugged/patch.rb, line 12 def inspect "#<#{self.class.name}:#{object_id}>" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.