class MegaLottoMdv::Drawing

Constants

NUMBERS

Public Instance Methods

draw() click to toggle source
# File lib/mega_lotto_mdv/drawing.rb, line 6
def draw
  NUMBERS.times.map { single_draw }
end

Private Instance Methods

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