Class
DiceUser
In: src/rubydice_doc.rb
Parent: Object

Determine the statistical randomness of a dice-like object.

Methods

bar, examine, histogram,
Public Instance methods
examine(dice) src

Examine the dice to be able to generate the histograms.

histogram() src

Display the histograms of the most recently examined dice object.

bar(n) src

Generate a histogram bar (of asterisks) for a value of n. Scale to fit in the desired columns.