Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/proco.rb

Instance Method Summary collapse

Instance Method Details

#sampleObject



16
17
18
# File 'lib/proco.rb', line 16

def sample
  self[Kernel.rand(size)]
end