Method: Rugged::Diff::Hunk#lines

Defined in:
lib/rugged/diff/hunk.rb

#linesObject

Returns an Array containing all lines of the hunk.

[View source]

18
19
20
# File 'lib/rugged/diff/hunk.rb', line 18

def lines
  each_line.to_a
end