Skip to content

Instantly share code, notes, and snippets.

@marksim
Created April 27, 2009 21:33
Show Gist options
  • Save marksim/102758 to your computer and use it in GitHub Desktop.
Save marksim/102758 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'webster'
lines = ARGV[0].to_i
cols = ARGV[1].to_i
@webster = Webster.new
(1..lines).each do |m|
line = []
(1..cols).each do |n|
line << @webster.random_word
end
puts line.join(",")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment