Sha256: 425e68887c50ecb95320c5396c7845d0275c46d1d8b966cef8f2ca36a9befd93
Contents?: true
Size: 511 Bytes
Versions: 119
Compression:
Stored size: 511 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_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
119 entries across 119 versions & 15 rubygems