Class: BCDice::GameSystem::StellarLife::StellarLife2D10Table::RollResult
- Inherits:
-
DiceTable::RollResult
- Object
- DiceTable::RollResult
- BCDice::GameSystem::StellarLife::StellarLife2D10Table::RollResult
- Defined in:
- lib/bcdice/game_system/StellarLife.rb
Overview
出目 10 を 0 と読むため、ゼロパディングしなければならない
Instance Attribute Summary
Attributes inherited from DiceTable::RollResult
Instance Method Summary collapse
Methods inherited from DiceTable::RollResult
#empty?, #initialize, #last_body
Constructor Details
This class inherits a constructor from BCDice::DiceTable::RollResult
Instance Method Details
#to_s ⇒ Object
155 156 157 |
# File 'lib/bcdice/game_system/StellarLife.rb', line 155 def to_s "#{@table_name}(#{format('%02d', @value)}) > #{@body}" end |