Class: BCDice::CommonCommand::RerollDice::Node::Notation
- Inherits:
-
Object
- Object
- BCDice::CommonCommand::RerollDice::Node::Notation
- Defined in:
- lib/bcdice/common_command/reroll_dice/node.rb
Instance Method Summary collapse
-
#initialize(times, sides) ⇒ Notation
constructor
A new instance of Notation.
- #to_dice(round_type) ⇒ Object
Constructor Details
#initialize(times, sides) ⇒ Notation
Returns a new instance of Notation.
166 167 168 169 |
# File 'lib/bcdice/common_command/reroll_dice/node.rb', line 166 def initialize(times, sides) @times = times @sides = sides end |