# File lib/active_support/core_ext/array/random_access.rb, line 16 def random_element self[Kernel.rand(length)] end