Sha256: 6e6193af55c7ec425a98743abf094dd4bface7bfbff6cd7599e9692aeb040ceb
Contents?: true
Size: 780 Bytes
Versions: 107
Compression:
Stored size: 780 Bytes
Contents
module LanguageServer module Protocol module Interface class LogMessageParams def initialize(type:, message:) @attributes = {} @attributes[:type] = type @attributes[:message] = message @attributes.freeze end # # The message type. See {@link MessageType} # # @return [MessageType] def type attributes.fetch(:type) end # # The actual message # # @return [string] def message attributes.fetch(:message) 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
107 entries across 107 versions & 13 rubygems