Class: Array

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

Instance Method Summary collapse

Instance Method Details

#randomObject



2
3
4
# File 'lib/svn_campfire_notifier/core_ext.rb', line 2

def random
  self[Kernel::rand(self.length)] 
end