삽질/Ruby

[Ruby] File Time

푸딩s 2014. 11. 26. 15:37


File.atime('파일주소')  # Returns the last access time

File.ctime('파일주소')  # Returns the change time for file 

File.mtime('파일주소')  # Returns the modification time for file.




http://ruby-doc.org/core-1.9.3/File.html



저작자표시 비영리 변경금지 (새창열림)