... and this sounds like a loaded die, as in

https://github.com/kschiess/loaded_dice
  or
gem install loaded_dice

;)
kaspar