On 17.02.2008 15:10, 7stud -- wrote:

> quiz_names = ['a', 'b', 'c', 'd', 'e']
> 
> random_names = quiz_names.sort_by {|quiz_name| rand(0)}

You do not need the block parameter.

Cheers

	robert