class LanguageServer::Protocol::Interface::DidOpenTextDocumentParams

def initialize(text_document:)

def initialize(text_document:)
  @attributes = {}
  @attributes[:textDocument] = text_document
  @attributes.freeze
end

def text_document

Returns:
  • (TextDocumentItem) -
def text_document
  attributes.fetch(:textDocument)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

def to_json(*args)
  to_hash.to_json(*args)
end