Report abuse


			
# Quickly dump a string into a file
def string2file(string,filename='string2file.txt',filepath='.')
  File.open("#{filepath}/#{filename}","w") do |f|
    f << string
  end
end