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