Fake loading bar/time lapse wait

Hello I am expirimenting in ruby but i am a huge noobie to this
language. But basically what i am trying to do is make a “loading bar”
even though it is not loading. i want the bar to last about 2 or 3
seconds before it continues printing the strings. so does anyone know
how to do this?

I guess you may get some inspiration from this ruby library by Jordan
Husney. I have not tested it
myself, though!

http://jordan.husney.com/archives/2005/12/progress_bars_w_1.php

saji

On Thu, Jun 28, 2012 at 10:23 AM, Von V. [email protected] wrote:

Hello I am expirimenting in ruby but i am a huge noobie to this
language. But basically what i am trying to do is make a “loading bar”
even though it is not loading. i want the bar to last about 2 or 3
seconds before it continues printing the strings. so does anyone know
how to do this?


Posted via http://www.ruby-forum.com/.

Saji N Hameed,
ARC-ENV, Center for Advanced Information Science and Technology,
University of Aizu, Tsuruga, Ikki-machi,
Aizuwakamatsu-shi, Fukushima 965-8580,
Japan

Tel: +81242 37-2736
Fax:+81242 37-2760
email: [email protected]
url: http://www.u-aizu.ac.jp
bib: http://www.researcherid.com/rid/B-9188-2009