class ThliasMegaLotto::Drawing

Public Instance Methods

draw() click to toggle source
# File lib/thlias_mega_lotto/drawing.rb, line 3
def draw
  6.times.map{single_draw}
end
draw_more() click to toggle source
# File lib/thlias_mega_lotto/drawing.rb, line 7
def draw_more
  8.times.map{single_draw}
end

Private Instance Methods

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