class MegaLottoTwo::Drawing
Public Instance Methods
draw()
click to toggle source
# File lib/mega_lotto_two/drawing.rb, line 3 def draw 5.times.map{single_draw} end
Private Instance Methods
single_draw()
click to toggle source
# File lib/mega_lotto_two/drawing.rb, line 8 def single_draw rand(0..60) end