Skip to content

Instantly share code, notes, and snippets.

@weatheredwatcher
Created February 18, 2010 05:31
Show Gist options
  • Save weatheredwatcher/307369 to your computer and use it in GitHub Desktop.
Save weatheredwatcher/307369 to your computer and use it in GitHub Desktop.
1.upto(61) {
|i| File.open("test" + i.to_s() + ".csv", 'w') {|file|
file.puts "The line that you want to write"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment