Sha256: 7ecff2053ef9bde50b30deb192326337ba053c6f5ca1e1ccc0bf773bf9d1bd0b
Contents?: true
Size: 677 Bytes
Versions: 110
Compression:
Stored size: 677 Bytes
Contents
module LanguageServer module Protocol module Interface # # Structure to capture a description for an error code. # class CodeDescription def initialize(href:) @attributes = {} @attributes[:href] = href @attributes.freeze end # # An URI to open with more information about the diagnostic error. # # @return [string] def href attributes.fetch(:href) 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
110 entries across 110 versions & 15 rubygems