Sha256: 3416c761983e81efbdfa46b430aaf03af8817b94a26b2424ca4c512d564e1a1f
Contents?: true
Size: 751 Bytes
Versions: 103
Compression:
Stored size: 751 Bytes
Contents
module LanguageServer module Protocol module Interface # # The params sent in a save notebook document notification. # class DidSaveNotebookDocumentParams def initialize(notebook_document:) @attributes = {} @attributes[:notebookDocument] = notebook_document @attributes.freeze end # # The notebook document that got saved. # # @return [NotebookDocumentIdentifier] def notebook_document attributes.fetch(:notebookDocument) end attr_reader :attributes def to_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
103 entries across 103 versions & 13 rubygems