class DustyMegaLotto::Drawing

Public Instance Methods

draw() click to toggle source
# File lib/dusty_mega_lotto.rb, line 11
def draw
  # This value used to be 5
  6.times.map { single_draw }
end

Private Instance Methods

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