218219abbd
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
12 lines
284 B
Ruby
12 lines
284 B
Ruby
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
|