Better way to get a list of files in a given directory

前端 未结 0 341
深忆病人
深忆病人 2020-12-15 06:27

When I need to work with files in a given directory, I always resort to the following way, which to my opinion is cumbersome:

    this_dir = Dir.pwd
    filep         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题