class LanguageServer::Protocol::Interface::ExecuteCommandRegistrationOptions


Execute command registration options.

def commands

Returns:
  • (string[]) -
def commands
  attributes.fetch(:commands)
end

def initialize(work_done_progress: nil, commands:)

def initialize(work_done_progress: nil, commands:)
  @attributes = {}
  @attributes[:workDoneProgress] = work_done_progress if work_done_progress
  @attributes[:commands] = commands
  @attributes.freeze
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

def to_json(*args)
  to_hash.to_json(*args)
end

def work_done_progress

Returns:
  • (boolean) -
def work_done_progress
  attributes.fetch(:workDoneProgress)
end