Method: LanguageServer::Protocol::Interface::WillSaveTextDocumentParams#initialize

Defined in:
lib/language_server/protocol/interface/will_save_text_document_params.rb

#initialize(text_document:, reason:) ⇒ WillSaveTextDocumentParams

Returns a new instance of WillSaveTextDocumentParams.



8
9
10
11
12
13
14
15
# File 'lib/language_server/protocol/interface/will_save_text_document_params.rb', line 8

def initialize(text_document:, reason:)
  @attributes = {}

  @attributes[:textDocument] = text_document
  @attributes[:reason] = reason

  @attributes.freeze
end