random_element()
Returns a random element from the array.
# File activesupport/lib/active_support/core_ext/array/random_access.rb, line 16 def random_element self[Kernel.rand(length)] end