Class: Totolotek::Lottery

Inherits:
Object
  • Object
show all
Defined in:
lib/totolotek/lottery.rb

Constant Summary collapse

NUMBERS_COUNT =
6

Instance Method Summary collapse

Instance Method Details

#drawObject



5
6
7
8
9
10
11
# File 'lib/totolotek/lottery.rb', line 5

def draw
  arr = []
  NUMBERS_COUNT.times do
    arr << rand(1..48)
  end
  arr
end