class LanguageServer::Protocol::Interface::FileRename


Represents information on a file/folder rename.

def initialize(old_uri:, new_uri:)

def initialize(old_uri:, new_uri:)
  @attributes = {}
  @attributes[:oldUri] = old_uri
  @attributes[:newUri] = new_uri
  @attributes.freeze
end

def new_uri

Returns:
  • (string) -
def new_uri
  attributes.fetch(:newUri)
end

def old_uri

Returns:
  • (string) -
def old_uri
  attributes.fetch(:oldUri)
end

def to_hash

def to_hash
  attributes
end

def to_json(*args)

def to_json(*args)
  to_hash.to_json(*args)
end