83fd1ae122
821e15e5f2
c30c1808c0
8c5e1652c7
1 2
3
4
5
6
class Array # Returns a random element from the array. def random_element self[Kernel.rand(length)] end end