Sha256: 8355984a289df6e074b7040cef22f49949ae69e582ab936d0a57c9f16a00da1c
Contents?: true
Size: 781 Bytes
Versions: 108
Compression:
Stored size: 781 Bytes
Contents
module LanguageServer module Protocol module Interface class ProgressParams def initialize(token:, value:) @attributes = {} @attributes[:token] = token @attributes[:value] = value @attributes.freeze end # # The progress token provided by the client or server. # # @return [ProgressToken] def token attributes.fetch(:token) end # # The progress data. # # @return [T] 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
108 entries across 108 versions & 13 rubygems