Sha256: 6a4eb656f4ab04f3545c7360d90fefb34f1b089e9360d90b4713abc1b634ac76
Contents?: true
Size: 627 Bytes
Versions: 119
Compression:
Stored size: 627 Bytes
Contents
module LanguageServer module Protocol module Interface class DidOpenTextDocumentParams def initialize(text_document:) @attributes = {} @attributes[:textDocument] = text_document @attributes.freeze end # # The document that was opened. # # @return [TextDocumentItem] 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
119 entries across 119 versions & 15 rubygems