Ruby判断文件是否存在时间:2023-03-09 15:02:02 flag = FileTest::exist?("LochNessMonster") flag = FileTest::exists?("UFO") # exists? is a synonym for exist? OK了