class LanguageServer::Protocol::Interface::DocumentFormattingRegistrationOptions
def document_selector
-
(DocumentSelector)
-
def document_selector attributes.fetch(:documentSelector) end
def initialize(document_selector:, work_done_progress: nil)
def initialize(document_selector:, work_done_progress: nil) @attributes = {} @attributes[:documentSelector] = document_selector @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
-
(boolean)
-
def work_done_progress attributes.fetch(:workDoneProgress) end