class LanguageServer::Protocol::Interface::MarkdownClientCapabilities
Client capabilities specific to the used markdown parser.
Attributes
attributes[R]
Public Class Methods
new(parser:, version: nil)
click to toggle source
# File lib/language_server/protocol/interface/markdown_client_capabilities.rb, line 8 def initialize(parser:, version: nil) @attributes = {} @attributes[:parser] = parser @attributes[:version] = version if version @attributes.freeze end
Public Instance Methods
parser()
click to toggle source
The name of the parser.
@return [string]
# File lib/language_server/protocol/interface/markdown_client_capabilities.rb, line 21 def parser attributes.fetch(:parser) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/markdown_client_capabilities.rb, line 35 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/markdown_client_capabilities.rb, line 39 def to_json(*args) to_hash.to_json(*args) end
version()
click to toggle source
The version of the parser.
@return [string]
# File lib/language_server/protocol/interface/markdown_client_capabilities.rb, line 29 def version attributes.fetch(:version) end