Module: Lottery::Taiwan

Extended by:
Taiwan
Includes:
LotteryHelper
Included in:
Taiwan
Defined in:
lib/lottery/taiwan.rb

Instance Method Summary collapse

Methods included from LotteryHelper

#draw, #make_hash

Instance Method Details

#daily_cashObject

Daily Cash



17
18
19
# File 'lib/lottery/taiwan.rb', line 17

def daily_cash
  make_hash(draw(39, 5))
end

#lotto_649Object

Lotto649



12
13
14
# File 'lib/lottery/taiwan.rb', line 12

def lotto_649
  make_hash(draw(49, 6))
end

#super_lotto_638Object

SuperLotto638



7
8
9
# File 'lib/lottery/taiwan.rb', line 7

def super_lotto_638
  make_hash(draw(38, 6), draw(8, 1))
end