Home
Ruby
ActiveRecord
Array
CGI
Class
Collections
Database
Date
Design Patterns
Development
File Directory
GUI
Hash
Language Basics
Method
Network
Number
Rails
Range
Reflection
Statement
String
Threads
Time
Tk
Unit Test
Windows Platform
XML
Menu
rand « Development « Ruby
Ruby
Development
rand
1.
Generating Random Numbers
2.
Random with a range
3.
Get a random item in an array
4.
Get a random value in a hash
5.
Generate random numbers
6.
Some random numbers based on process number and current time
7.
Start the seed with the number 1