Parent

Included Modules

Rugged::Patch

Attributes

diff[RW]
owner[RW]

Public Instance Methods

changes() click to toggle source

Returns the number of changes in the patch.

# File lib/rugged/patch.rb, line 17
def changes
  stat.reduce { |t,v| t + v }
end
hunks() click to toggle source

Returns an Array containing all hunks of the patch.

# File lib/rugged/patch.rb, line 22
def hunks
  each_hunk.to_a
end
inspect() click to toggle source
# File lib/rugged/patch.rb, line 12
def inspect
  "#<#{self.class.name}:#{object_id}>"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.