Sha256: 967bfcf854c96b94d71327e88cacb97adb709369ef04d95f5f9a7fa89e794c26
Contents?: true
Size: 617 Bytes
Versions: 6
Compression:
Stored size: 617 Bytes
Contents
module LanguageServer module Protocol module Interface class DocumentSymbolParams def initialize(text_document:) @attributes = {} @attributes[:textDocument] = text_document @attributes.freeze end # # The text document. # # @return [TextDocumentIdentifier] def text_document attributes.fetch(:textDocument) end attr_reader :attributes def to_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems