class MprtadLotto::Drawing

Public Instance Methods

draw() click to toggle source
# File lib/mprtad_lotto.rb, line 11
def draw
  6.times.map do
    single_draw
  end
end

Private Instance Methods

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