jeffz_2002
1/19/2006 5:24:00 PM
This works, but it's a hassle. Essentially, if I have a script like
this:
button1.click
button2.click
I'd like the interpreter to do something like what you've said ...
e.g.,
puts "button1.click"
line = gets
button1.click
puts "button2.click"
line = gets
button2.click
set_slow_speed does slow down the typing, but I was hoping for
something /even slower/, so people could see each line, think about
what it's doing, and then run that line when they want.
Anyway, this is all just a nice-to-have. I might just write a simple
processor that takes a given test and writes out a new .rb file with
extra code between each line, like the above example.
Thanks,
jz