Sha256: 8cd1c84c5a889c9ebcde0aa8ec0c8804dc9ad4f992ef95dc28591333a3f345ef
Contents?: true
Size: 831 Bytes
Versions: 109
Compression:
Stored size: 831 Bytes
Contents
module LanguageServer module Protocol module Interface class ExecuteCommandOptions def initialize(work_done_progress: nil, commands:) @attributes = {} @attributes[:workDoneProgress] = work_done_progress if work_done_progress @attributes[:commands] = commands @attributes.freeze end # @return [boolean] def work_done_progress attributes.fetch(:workDoneProgress) end # # The commands to be executed on the server # # @return [string[]] def commands attributes.fetch(:commands) 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
109 entries across 109 versions & 15 rubygems