Parent

Rugged::Diff::Hunk

Public Instance Methods

delta() click to toggle source
# File lib/rugged/diff/hunk.rb, line 4
def delta
  @owner
end
inspect() click to toggle source
# File lib/rugged/diff/hunk.rb, line 8
def inspect
  "#<#{self.class.name}:#{object_id} {header: #{header.inspect}, count: #{count.inspect}}>"
end
lines() click to toggle source

Returns an Array containing all lines of the hunk.

# File lib/rugged/diff/hunk.rb, line 13
def lines
  each_line.to_a
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.