首页 > 技术文章 > Ruby 写文件
stono 2017-04-04 19:20 原文
Ruby 写文件
outFile = File.new("fileName.txt","w")
outFile.puts "a"
outFile.close