class LanguageServer::Protocol::Interface::WorkDoneProgressOptions

def initialize(work_done_progress: nil)

def initialize(work_done_progress: nil)
  @attributes = {}
  @attributes[:workDoneProgress] = work_done_progress if work_done_progress
  @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