Sha256: 4e360452d60e94bc43d4f5e3f1a01aa0c1726b6771f986a5a9a4876699dbe28f
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
module LanguageServer module Protocol module Interface class MessageActionItem def initialize(title:) @attributes = {} @attributes[:title] = title @attributes.freeze end # # A short title like 'Retry', 'Open Log' etc. # # @return [string] def title attributes.fetch(:title) 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_action_item.rb |
language_server-protocol-0.3.0 | lib/language_server/protocol/interface/message_action_item.rb |