#!usr/bin/ruby#Funcion savefile()#Coded By Doddy Hdef savefile(file,text) save = File.open(file, "a") save.puts text+"\n" save.closeendsavefile("test.txt","probando")#The End ?