Class: BCDice::CommonCommand::BarabaraDice::Node::Notation
- Inherits:
-
Object
- Object
- BCDice::CommonCommand::BarabaraDice::Node::Notation
- Defined in:
- lib/bcdice/common_command/barabara_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.
56 57 58 59 |
# File 'lib/bcdice/common_command/barabara_dice/node.rb', line 56 def initialize(times, sides) @times = times @sides = sides end |