blob: 8ac1b15e88a965eb40f3cbfa32926e314053e865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Gitlab
module Diff
class Line
attr_reader :type, :text, :index, :old_pos, :new_pos
def initialize(text, type, index, old_pos, new_pos)
@text, @type, @index = text, type, index
@old_pos, @new_pos = old_pos, new_pos
end
end
end
end
|