Sha256: c680d0f938d6b749f4f34365665a25bee60dd017a0cf01b49238e9150527a6d9
Contents?: true
Size: 753 Bytes
Versions: 25
Compression:
Stored size: 753 Bytes
Contents
# frozen_string_literal: true module PlatformosCheck module LanguageServer class CodeActionProvider class << self def all @all ||= [] end def inherited(subclass) all << subclass end def kind(k = nil) @kind = k unless k.nil? @kind end end attr_reader :storage, :diagnostics_manager def initialize(storage, diagnostics_manager) @storage = storage @diagnostics_manager = diagnostics_manager end def kind self.class.kind end def base_kind kind.split('.')[0] end def code_actions(relative_path, range) raise NotImplementedError end end end end
Version data entries
25 entries across 25 versions & 1 rubygems