Sha256: 20666934a099325ea118df02c57d9e41e65b0734feec7a4ea674de00ea61a1e0

Contents?: true

Size: 531 Bytes

Versions: 5

Compression:

Stored size: 531 Bytes

Contents

module Lottery
  module Spain
    include Lottery::LotteryHelper
    extend self

    # Sunday 5/54+1
    # numbers + de matrix
    # http://www.elgordo.com/shop/tg-play-sunday-554.asp
    def sunday_5_54_plus1
      make_hash(draw(49, 5), draw(11, 1))
    end

    # Spanish 6/49
    # http://www.elgordo.com/shop/shoplottosen.asp
    def spanish_6_49
      make_hash(draw(49, 6))
    end


    # Daily 6/49
    # http://www.elgordo.com/shop/tb-play-daily-649.asp
    def daily_6_49
      make_hash(draw(49, 6))
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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