Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

instance method

Pathname#lutime

lutime(p1, p2)

Update the access and modification times of the file.

Same as Pathname#utime, but does not follow symbolic links.

See File.lutime.

See also #lstat #make_link #lchown #make_symlink also in 4.1 · 4.0 · 3.3 · 3.2