class LanguageServer::Protocol::Interface::NotebookDocumentIdentifier
A literal to identify a notebook document in the client.
Attributes
attributes[R]
Public Class Methods
new(uri:)
click to toggle source
# File lib/language_server/protocol/interface/notebook_document_identifier.rb, line 8 def initialize(uri:) @attributes = {} @attributes[:uri] = uri @attributes.freeze end
Public Instance Methods
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/notebook_document_identifier.rb, line 26 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/notebook_document_identifier.rb, line 30 def to_json(*args) to_hash.to_json(*args) end
uri()
click to toggle source
The notebook document’s URI.
@return [string]
# File lib/language_server/protocol/interface/notebook_document_identifier.rb, line 20 def uri attributes.fetch(:uri) end