hoodwink.d enhanced

Fri Jun 6

Chemical Party

Enumerable#pick

module Enumerable def pick(percentage) select do |element| percentage.chance.happens? end end def some pick 50.percent end def few pick 20.percent end def many pick 80.percent end end
A-newt

A newt