delete(*args)
public
Deletes the named files, returning the number of names passed as arguments.
Raises an exception on any error. See also Dir::rmdir.
Show source
static VALUE
rb_file_s_unlink(VALUE klass, VALUE args)
{
long n;
rb_secure(2);
n = apply2files(unlink_internal, args, 0);
return LONG2FIX(n);
}