Sha256: a576ce6ab16766cc6e65b79d63f20cccbb358459aa1cf4070c9110bc9426818b
Contents?: true
Size: 873 Bytes
Versions: 110
Compression:
Stored size: 873 Bytes
Contents
module LanguageServer module Protocol module Interface class LogTraceParams def initialize(message:, verbose: nil) @attributes = {} @attributes[:message] = message @attributes[:verbose] = verbose if verbose @attributes.freeze end # # The message to be logged. # # @return [string] def message attributes.fetch(:message) end # # Additional information that can be computed if the `trace` configuration # is set to `'verbose'` # # @return [string] def verbose attributes.fetch(:verbose) 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