Class: Dice::D30

Inherits:
Dice
  • Object
show all
Defined in:
lib/dice/d30.rb

Overview

Implements a standard 30-sided dice with a roll value range of 1-30

The only game using this kind of dice as far as I know is the german rpg ‘Ruf des Warlock’

Instance Attribute Summary

Attributes inherited from Dice

#coerced, #min_val, #sides

Instance Method Summary collapse

Methods inherited from Dice

#*, #+, #-, #/, #coerce, coerce, #roll

Constructor Details

#initializeD30

Returns a new instance of D30.



8
9
10
# File 'lib/dice/d30.rb', line 8

def initialize
super 1, 30
end