module LanguageServer module Protocol module Interface class DocumentFormattingOptions < WorkDoneProgressOptions def initialize(work_done_progress: nil) @attributes = {} @attributes[:workDoneProgress] = work_done_progress if work_done_progress @attributes.freeze end attr_reader :attributes def to_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end