Sha256: 331187cb9d3b80c46c7b30e26bc6943b0d63266a2f26e611b70940a6e256e1e8
Contents?: true
Size: 661 Bytes
Versions: 106
Compression:
Stored size: 661 Bytes
Contents
module LanguageServer module Protocol module Interface # # Represents information on a file/folder delete. # class FileDelete def initialize(uri:) @attributes = {} @attributes[:uri] = uri @attributes.freeze end # # A file:// URI for the location of the file/folder being deleted. # # @return [string] def uri attributes.fetch(:uri) end attr_reader :attributes def to_hash attributes end def to_json(*args) to_hash.to_json(*args) end end end end end
Version data entries
106 entries across 106 versions & 12 rubygems