class MegaLottery::Drawing
Public Instance Methods
draw()
click to toggle source
# File lib/mega_lottery/drawing.rb, line 3 def draw MegaLottery.configuration.drawing_count.times.map { single_draw } end
single_draw()
click to toggle source
# File lib/mega_lottery/drawing.rb, line 7 def single_draw rand(0...60) end