= 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, rb_intern("truncate"), 2, get_strpath(self), length); }