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