Module: ActiveSupport::CoreExtensions::Array::RandomAccess
- Included in:
- Array
- Defined in:
- lib/gems/activesupport-2.2.2/lib/active_support/core_ext/array/random_access.rb
Instance Method Summary collapse
-
#rand ⇒ Object
Returns a random element from the array.