adding reset()
This commit is contained in:
parent
6b3e094d79
commit
20f1608cbe
|
@ -107,6 +107,9 @@ class RollTable:
|
||||||
self._rows.append(self._column_filter([f'd{face+1}'] + row))
|
self._rows.append(self._column_filter([f'd{face+1}'] + row))
|
||||||
return self._rows
|
return self._rows
|
||||||
|
|
||||||
|
def reset(self) -> None:
|
||||||
|
self._generated_values = None
|
||||||
|
|
||||||
def as_markdown(self) -> str:
|
def as_markdown(self) -> str:
|
||||||
return Table(self.rows).markdown()
|
return Table(self.rows).markdown()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user