Guest User

Untitled

a guest
Jul 17th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/bin/ruby
  2. require 'csv'
  3.  
  4. target = File.open(ARGV[0], "w")
  5. CSV::Writer.generate(target) do |writer|
  6. for i in 1..10000
  7. writer.add_row(["#{i}", "hoge"])
  8. end
  9. end
  10. target.close
Add Comment
Please, Sign In to add comment