debian-mirror-gitlab/lib/gitlab/diff/position_tracer/base_strategy.rb
2020-08-09 17:44:08 +05:30

27 lines
460 B
Ruby

# frozen_string_literal: true
module Gitlab
module Diff
class PositionTracer
class BaseStrategy
attr_reader :tracer
delegate \
:project,
:diff_file,
:ac_diffs,
:bd_diffs,
:cd_diffs,
to: :tracer
def initialize(tracer)
@tracer = tracer
end
def trace(position)
raise NotImplementedError
end
end
end
end
end