Method: RIO::IF::Grande#delete

Defined in:
lib/rio/if/grande.rb

#deleteObject

For a file Rio delete calls FileUtils#rm. For a directory Rio delete calls FileUtils#rmdir Returns the Rio. If the Rio does not exist, simply return the Rio.

rio('afile,txt').delete # delete 'afile.txt'
rio('adir').delete # delete adir
rio('something').delete # delete something


330
# File 'lib/rio/if/grande.rb', line 330

def delete() target.delete(); self end