1、File.open("graphics/pictures/XXXXX", "w") {} 2、FileTest.exists?( "graphics/pictures/XXXXX") 紫苏 发表于 2009-12-2 13:18