class MarkMegaLotto::Drawing

Public Instance Methods

draw() click to toggle source
# File lib/mark_mega_lotto/drawing.rb, line 3
def draw
  MarkMegaLotto.configuration.drawing_count.times.map { single_draw }
end

Private Instance Methods

single_draw() click to toggle source
# File lib/mark_mega_lotto/drawing.rb, line 9
def single_draw
  rand 0...60
end