Ruby 写文件

outFile = File.new("fileName.txt","w")

outFile.puts "a"

outFile.close

05-27 04:52