class LanguageServer::Protocol::Interface::DidOpenNotebookDocumentParams


The params sent in an open notebook document notification.

def cell_text_documents

Returns:
  • (TextDocumentItem[]) -
def cell_text_documents
  attributes.fetch(:cellTextDocuments)
end

def initialize(notebook_document:, cell_text_documents:)

def initialize(notebook_document:, cell_text_documents:)
  @attributes = {}
  @attributes[:notebookDocument] = notebook_document
  @attributes[:cellTextDocuments] = cell_text_documents
  @attributes.freeze
end

def notebook_document

Returns:
  • (NotebookDocument) -
def notebook_document
  attributes.fetch(:notebookDocument)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

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