class LanguageServer::Protocol::Interface::NotebookDocumentClientCapabilities
Capabilities specific to the notebook document support.
Attributes
attributes[R]
Public Class Methods
new(synchronization:)
click to toggle source
# File lib/language_server/protocol/interface/notebook_document_client_capabilities.rb, line 8 def initialize(synchronization:) @attributes = {} @attributes[:synchronization] = synchronization @attributes.freeze end
Public Instance Methods
synchronization()
click to toggle source
Capabilities specific to notebook document synchronization
@return [NotebookDocumentSyncClientCapabilities]
# File lib/language_server/protocol/interface/notebook_document_client_capabilities.rb, line 20 def synchronization attributes.fetch(:synchronization) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/notebook_document_client_capabilities.rb, line 26 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/notebook_document_client_capabilities.rb, line 30 def to_json(*args) to_hash.to_json(*args) end