If you need to pause for fixed time, try

sleep 1 # 1 second pause

For more functionality, see ruby-breakpoint (
http://rubyforge.org/projects/ruby-breakpoint/) or ruby-debug (
http://rubyforge.org/projects/ruby-debug/). I have not used them, but I have
read at this list that ruby-breakpoint can pause and then resume ruby
script.
--
Zeljko Filipin
zeljkofilipin.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to