class Solargraph::LanguageServer::Message::TextDocument::Formatting
def formatter_class(config)
def formatter_class(config) if self.class.const_defined?('BlankRubocopFormatter') # @sg-ignore BlankRubocopFormatter else require_rubocop(config['version']) klass = Class.new(::RuboCop::Formatter::BaseFormatter) self.class.const_set 'BlankRubocopFormatter', klass end end