class LanguageServer::Protocol::Interface::TextDocumentSyncOptions
def change
-
(TextDocumentSyncKind)
-
def change attributes.fetch(:change) end
def initialize(open_close: nil, change: nil, will_save: nil, will_save_wait_until: nil, save: nil)
def initialize(open_close: nil, change: nil, will_save: nil, will_save_wait_until: nil, save: nil) @attributes = {} @attributes[:openClose] = open_close if open_close @attributes[:change] = change if change @attributes[:willSave] = will_save if will_save @attributes[:willSaveWaitUntil] = will_save_wait_until if will_save_wait_until @attributes[:save] = save if save @attributes.freeze end
def open_close
-
(boolean)
-
def open_close attributes.fetch(:openClose) end
def save
-
(boolean | SaveOptions)
-
def save attributes.fetch(:save) end
def to_hash
def to_hash attributes end
def to_json(*args)
def to_json(*args) to_hash.to_json(*args) end
def will_save
-
(boolean)
-
def will_save attributes.fetch(:willSave) end
def will_save_wait_until
-
(boolean)
-
def will_save_wait_until attributes.fetch(:willSaveWaitUntil) end