Class: Dice::D100
Overview
Implements a standard 100-sided dice with a roll value range of 00-99
Instance Attribute Summary
Attributes inherited from Dice
Instance Method Summary collapse
-
#initialize ⇒ D100
constructor
A new instance of D100.
Methods inherited from Dice
#*, #+, #-, #/, #coerce, coerce, #roll
Constructor Details
#initialize ⇒ D100
Returns a new instance of D100.
5 6 7 |
# File 'lib/dice/d100.rb', line 5 def initialize super 0, 100 end |