Sha256: f02d15160bd50b6fdbb08f6a6af7462856e3f5c5ac22894c059fa722fbbb4288
Contents?: true
Size: 505 Bytes
Versions: 2
Compression:
Stored size: 505 Bytes
Contents
module LanguageServer module Protocol module Interface class CancelParams def initialize(id:) @attributes = {} @attributes[:id] = id @attributes.freeze end # # The request id to cancel. # # @return [string | number] def id attributes.fetch(:id) end attr_reader :attributes def to_json(*args) attributes.to_json(*args) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
language_server-protocol-0.4.0 | lib/language_server/protocol/interface/cancel_params.rb |
language_server-protocol-0.3.0 | lib/language_server/protocol/interface/cancel_params.rb |