miller/data/generators/tail-rand-gen.rb
2015-10-10 07:41:51 -07:00

10 lines
167 B
Ruby

#!/usr/bin/env ruby
# For playing with stats1/2 -s
$stdout.sync = true
while true
x = rand()
y = rand()
xy = x*y
puts "x=#{x},y=#{y},xy=#{xy}"
sleep 0.1
end