= private = protected
truncate(p1)
Truncates the file to length bytes.
See File.truncate.
static VALUE path_truncate(VALUE self, VALUE length) { return rb_funcall(rb_cFile, id_truncate, 2, get_strpath(self), length); }