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_cash_539Object

Daily Cash 539



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

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

#four_starsObject



25
26
27
# File 'lib/lottery/taiwan.rb', line 25

def four_stars
  digit_draw(4)
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

#three_starsObject



21
22
23
# File 'lib/lottery/taiwan.rb', line 21

def three_stars
  digit_draw
end