class LanguageServer::Protocol::Interface::ShowDocumentClientCapabilities

Client capabilities for the show document request.

Attributes

attributes[R]

Public Class Methods

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

  @attributes[:support] = support

  @attributes.freeze
end

Public Instance Methods

support() click to toggle source

The client has support for the show document request.

@return [boolean]

# File lib/language_server/protocol/interface/show_document_client_capabilities.rb, line 21
def support
  attributes.fetch(:support)
end
to_hash() click to toggle source
# File lib/language_server/protocol/interface/show_document_client_capabilities.rb, line 27
def to_hash
  attributes
end
to_json(*args) click to toggle source
# File lib/language_server/protocol/interface/show_document_client_capabilities.rb, line 31
def to_json(*args)
  to_hash.to_json(*args)
end