class LanguageServer::Protocol::Interface::RenameFilesParams
The parameters sent in notifications/requests for user-initiated renames of files.
Attributes
attributes[R]
Public Class Methods
new(files:)
click to toggle source
# File lib/language_server/protocol/interface/rename_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 renamed in this operation. When a folder is renamed, only the folder will be included, and not its children.
@return [FileRename
# File lib/language_server/protocol/interface/rename_files_params.rb, line 22 def files attributes.fetch(:files) end
to_hash()
click to toggle source
# File lib/language_server/protocol/interface/rename_files_params.rb, line 28 def to_hash attributes end
to_json(*args)
click to toggle source
# File lib/language_server/protocol/interface/rename_files_params.rb, line 32 def to_json(*args) to_hash.to_json(*args) end