Class: BCDice::CommonCommand::UpperDice::Node::Notation
- Inherits:
-
Object
- Object
- BCDice::CommonCommand::UpperDice::Node::Notation
- Defined in:
- lib/bcdice/common_command/upper_dice/node.rb
Instance Method Summary collapse
-
#initialize(roll_times, sides) ⇒ Notation
constructor
A new instance of Notation.
- #to_dice(round_type) ⇒ Dice
Constructor Details
#initialize(roll_times, sides) ⇒ Notation
Returns a new instance of Notation.
119 120 121 122 |
# File 'lib/bcdice/common_command/upper_dice/node.rb', line 119 def initialize(roll_times, sides) @roll_times = roll_times @sides = sides end |