Class: Rucoa::Handlers::TextDocumentDidChangeHandler

Inherits:
TextDocumentDidOpenHandler show all
Defined in:
lib/rucoa/handlers/text_document_did_change_handler.rb

Instance Method Summary collapse

Methods inherited from TextDocumentDidOpenHandler

#call

Methods inherited from Base

call, #call, #initialize

Constructor Details

This class inherits a constructor from Rucoa::Handlers::Base

Instance Method Details

#textString

Returns:

  • (String)


7
8
9
# File 'lib/rucoa/handlers/text_document_did_change_handler.rb', line 7

def text
  request.dig('params', 'contentChanges')[0]['text']
end