R
Ruby N00bie
Hello,
Thanks for reading this.
I am very new to Ruby and have been learning using a tutorial at
http://pine.fm/LearnToProgram/
by Chris (thanks Chris)
After searching fairly thoroughly in forums and tutorials I found no
answer to my problem.
I have come to a point where i need to generate a random number within a
range.
I have learnt that rand(100) produces random numbers from 0 to 99 but i
need to know how to set a minimum for the random number.
Your help would be greatly appreciated.
Thanks in advance, tckl.
Thanks for reading this.
I am very new to Ruby and have been learning using a tutorial at
http://pine.fm/LearnToProgram/
by Chris (thanks Chris)
After searching fairly thoroughly in forums and tutorials I found no
answer to my problem.
I have come to a point where i need to generate a random number within a
range.
I have learnt that rand(100) produces random numbers from 0 to 99 but i
need to know how to set a minimum for the random number.
Your help would be greatly appreciated.
Thanks in advance, tckl.