How to order files by last modified time in ruby?

后端 未结 3 1879
囚心锁ツ
囚心锁ツ 2020-12-14 15:35

How to get files in last modified time order in ruby? I was able to smash my keyboard enough to achieve this:

file_info = Hash[*Dir.glob(\"*\").collect {|fil         


        
3条回答
提交回复
热议问题