Sha256: ccd8bbf4251b5d6c0cbfd5da1d7a7f1d49aab55ad5858c52c3331cc37507f12e

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

module Lottery
  module Taiwan
    include Lottery::LotteryHelper
    extend self

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

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

    # Daily Cash
    def daily_cash
      make_hash(draw(39, 5))
    end

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lottery-0.0.4 lib/lottery/taiwan.rb
lottery-0.0.3 lib/lottery/taiwan.rb
lottery-0.0.2 lib/lottery/taiwan.rb
lottery-0.0.1 lib/lottery/taiwan.rb