Sha256: bb132a86be8141896b7dfe25efb34d11baaea4223723542922d0e2a1d1fcf341
Contents?: true
Size: 868 Bytes
Versions: 106
Compression:
Stored size: 868 Bytes
Contents
module LanguageServer module Protocol module Interface # # A previous result id in a workspace pull request. # class PreviousResultId def initialize(uri:, value:) @attributes = {} @attributes[:uri] = uri @attributes[:value] = value @attributes.freeze end # # The URI for which the client knows a # result id. # # @return [string] def uri attributes.fetch(:uri) end # # The value of the previous result id. # # @return [string] def value attributes.fetch(:value) 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
106 entries across 106 versions & 15 rubygems