class LanguageServer::Protocol::Interface::DidSaveNotebookDocumentParams

The params sent in a save notebook document notification.

Attributes

attributes[R]

Public Class Methods

new(notebook_document:) click to toggle source
# File lib/language_server/protocol/interface/did_save_notebook_document_params.rb, line 8
def initialize(notebook_document:)
  @attributes = {}

  @attributes[:notebookDocument] = notebook_document

  @attributes.freeze
end

Public Instance Methods

notebook_document() click to toggle source

The notebook document that got saved.

@return [NotebookDocumentIdentifier]

# File lib/language_server/protocol/interface/did_save_notebook_document_params.rb, line 20
def notebook_document
  attributes.fetch(:notebookDocument)
end
to_hash() click to toggle source
# File lib/language_server/protocol/interface/did_save_notebook_document_params.rb, line 26
def to_hash
  attributes
end
to_json(*args) click to toggle source
# File lib/language_server/protocol/interface/did_save_notebook_document_params.rb, line 30
def to_json(*args)
  to_hash.to_json(*args)
end