Sha256: 0f7b78a81e1aa36c413ed22acf3a85cde10245bd4a05d4308ad3809bfdc99048
Contents?: true
Size: 556 Bytes
Versions: 115
Compression:
Stored size: 556 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_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
115 entries across 115 versions & 12 rubygems