Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Pathname#ctime
pathname.ctime → time
ext/pathname/pathname.c
View on GitHub ↗
static VALUE
path_ctime(VALUE self)
{
return rb_funcall(rb_cFile, id_ctime, 1, get_strpath(self));
}
Returns the last change time, using directory information, not the file itself.
See File.ctime.