Method: Quotes.lottery
- Defined in:
- lib/cryptoquotes.rb
.lottery ⇒ Object
62 63 64 65 |
# File 'lib/cryptoquotes.rb', line 62 def self.lottery ## get random shuffle (shuffle three times - why? why not?) @lottery ||= (0..(all.size-1)).to_a.shuffle.shuffle.shuffle end |