2010-09-18 rubyでファイルに書き込む ruby #!/usr/bin/ruby File.open("abc.txt","w") do |io| io.write "Hello\n" end