class LanguageServer::Protocol::Interface::NotebookDocumentFilter


different properties.
A notebook document filter denotes a notebook document by

def initialize(notebook_type: nil, scheme: nil, pattern: nil)

def initialize(notebook_type: nil, scheme: nil, pattern: nil)
  @attributes = {}
  @attributes[:notebookType] = notebook_type if notebook_type
  @attributes[:scheme] = scheme if scheme
  @attributes[:pattern] = pattern if pattern
  @attributes.freeze
end

def notebook_type

Returns:
  • (string) -
def notebook_type
  attributes.fetch(:notebookType)
end

def pattern

Returns:
  • (string) -
def pattern
  attributes.fetch(:pattern)
end

def scheme

Returns:
  • (string) -
def scheme
  attributes.fetch(:scheme)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

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