Class: Solargraph::LanguageServer::Message::TextDocument::DidOpen

Inherits:
Base
  • Object
show all
Defined in:
lib/solargraph/language_server/message/text_document/did_open.rb

Instance Attribute Summary

Attributes inherited from Base

#filename

Attributes inherited from Base

#error, #host, #id, #method, #params, #request, #result

Instance Method Summary collapse

Methods inherited from Base

#post_initialize

Methods included from UriHelpers

file_to_uri, uri_to_file

Methods inherited from Base

#initialize, #post_initialize, #send_response, #set_error, #set_result

Constructor Details

This class inherits a constructor from Solargraph::LanguageServer::Message::Base

Instance Method Details

#processObject



6
7
8
# File 'lib/solargraph/language_server/message/text_document/did_open.rb', line 6

def process
  host.open params['textDocument']['uri'], params['textDocument']['text'], params['textDocument']['version']
end