gitlab-ce/app/components/rapid_diffs/viewers/viewer_component.rb

16 lines
278 B
Ruby

# frozen_string_literal: true
module RapidDiffs
module Viewers
class ViewerComponent < ViewComponent::Base
def self.viewer_name
raise NotImplementedError
end
def initialize(diff_file:)
@diff_file = diff_file
end
end
end
end