Ruby/File Directory/utime
Материал из Wiki.crossplatform.ru
Версия от 17:10, 26 мая 2010; (Обсуждение)
Change times
f = "log.messages" # Filename atime = mtime = Time.now # New access and modify times File.utime(atime, mtime, f) # Change times