Class: Array
- Inherits:
-
Object
- Object
- Array
- Defined in:
- lib/dummy_files.rb
Instance Method Summary collapse
Instance Method Details
#random ⇒ Object
71 72 73 |
# File 'lib/dummy_files.rb', line 71 def random self[Kernel::rand(self.length)] end |