class Solargraph::LanguageServer::Message::Extended::Environment
Update YARD documentation for installed gems. If the ‘rebuild` parameter is true, rebuild existing yardocs.
Public Instance Methods
process()
click to toggle source
# File lib/solargraph/language_server/message/extended/environment.rb, line 11 def process # Make sure the environment page can report RuboCop's version require 'rubocop' page = Solargraph::Page.new(host.options['viewsPath']) content = page.render('environment', layout: true, locals: { config: host.options, folders: host.folders }) set_result( content: content ) end