Class: Dicechucker::DiceDropHigh
- Inherits:
-
DiceDropper
- Object
- Dice
- DiceDropper
- Dicechucker::DiceDropHigh
- Defined in:
- lib/dicechucker/dice.rb
Instance Attribute Summary
Attributes inherited from DiceDropper
Attributes inherited from Dice
#modifier, #number_of_dice, #results, #sides, #total
Instance Method Summary collapse
Methods inherited from DiceDropper
Methods inherited from Dice
#==, #initialize, #report, #roll
Constructor Details
This class inherits a constructor from Dicechucker::Dice
Instance Method Details
#drop_target ⇒ Object
74 75 76 |
# File 'lib/dicechucker/dice.rb', line 74 def drop_target @results.max end |