Sha256: 7dea6e8d65ee2744241724a6975c9bd31f0584fedfcc4f6401d7c7b8819b580b

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

module MegaLottoChi
    class Drawing
      def draw
        6.times.map { single_draw }
      end
      
      private 
      
      def single_draw
        rand(0...60)
      end
    end
  end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mega_lotto_chi-0.6.0 lib/mega_lotto_chi/drawing.rb