instance method
Pathname#utime
(::Integer | ::Time atime, ::Integer | ::Time mtime) -> ::Integer
utime(atime, mtime)
pathname_builtin.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/pathname_builtin.rb, line 962
def utime(atime, mtime) File.utime(atime, mtime, @path) end
See File.utime. Update the access and modification times.
See also
#unlink
#world_readable?
#truncate
#world_writable?
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0