Sha256: 1ed91e81703bb529f4c262949449849eadc6687090874f3d0dc899e4d1f1159d
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
module LanguageServer module Protocol module Interface class Message def initialize(jsonrpc:) @attributes = {} @attributes[:jsonrpc] = jsonrpc @attributes.freeze end # @return [string] def jsonrpc attributes.fetch(:jsonrpc) 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/message.rb |
language_server-protocol-0.3.0 | lib/language_server/protocol/interface/message.rb |