Class: Dicechucker::DieSingle

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

Instance Attribute Summary

Attributes inherited from Dice

#modifier, #number_of_dice, #results, #sides, #total

Instance Method Summary collapse

Methods inherited from Dice

#==, #initialize, #roll

Constructor Details

This class inherits a constructor from Dicechucker::Dice

Instance Method Details

#reportObject



93
94
95
# File 'lib/dicechucker/dice.rb', line 93

def report
  "rolled #{@total}."
end