# File lib/rugged/diff/hunk.rb, line 13 def inspect "#<#{self.class.name}:#{object_id} {header: #{header.inspect}, range: #{range.inspect}>" end
Returns an Array containing all lines of the hunk.
# File lib/rugged/diff/hunk.rb, line 18 def lines each_line.to_a end