method

delete

ruby latest stable - Class: Net::FTP
delete(filename)
public

Deletes a file on the server.