class LanguageServer::Protocol::Interface::DeleteFilesParams
The parameters sent in notifications/requests for user-initiated deletes of files.
Attributes
attributes[R]
Public Class Methods
new(files:)
click to toggle source
# File lib/language_server/protocol/interface/delete_files_params.rb, line 9 def initialize(files:) @attributes = {} @attributes[:files] = files @attributes.freeze end
Public Instance Methods
files()
click to toggle source
An array of all files/folders deleted in this operation.
@return [FileDelete
# File lib/language_server/protocol/interface/delete_files_params.rb, line 21 def files attributes.fetch(:files) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/delete_files_params.rb, line 27 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/delete_files_params.rb, line 31 def to_json(*args) to_hash.to_json(*args) end