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