Sha256: 86df43e64ea8e89475ff6ff8c7bfa8cd3a9e7d883e5a52cd412a3625eb3de384

Contents?: true

Size: 288 Bytes

Versions: 5

Compression:

Stored size: 288 Bytes

Contents

module Lottery
  module Europe
    include Lottery::LotteryHelper
    extend self

    def euro_millions
      make_hash(draw(50, 5), draw(11, 2))
    end

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

    def thunderball
      make_hash(draw(39, 5), draw(14, 1))
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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