Class: FoobarLotto::Drawing

Inherits:
Object
  • Object
show all
Defined in:
lib/foobar_lotto/drawing.rb

Constant Summary collapse

NUMBERS =
6

Instance Method Summary collapse

Instance Method Details

#drawObject



5
6
7
# File 'lib/foobar_lotto/drawing.rb', line 5

def draw
  Array.new(NUMBERS){ single_draw }
end