Class: Array

Inherits:
Object show all
Defined in:
lib/integrity/notifier/test/fixtures.rb

Instance Method Summary collapse

Instance Method Details

#pickObject



6
7
8
# File 'lib/integrity/notifier/test/fixtures.rb', line 6

def pick
  self[rand(self.length)]
end