Skip to content

Commit d2e90e0

Browse files
authored
Update exercises/practice/dnd-character/.approaches/stand-alone-dice-roll-function/content.md
1 parent 4156761 commit d2e90e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • exercises/practice/dnd-character/.approaches/stand-alone-dice-roll-function

exercises/practice/dnd-character/.approaches/stand-alone-dice-roll-function/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ It also makes it cleaner to maintain, should the method or number of the dice ro
4141
Note that `modifier()` uses the [`operator.floordiv`][operator-floordiv] method to trunkate the value.
4242

4343
This approach is valid and passes all the tests.
44-
However, it will trigger an analyzer comment about there being "too few public methods", since there are no methods for this class beyond `attribute()`.
44+
However, it will trigger an analyzer comment about there being "too few public methods", since there are no methods for this class beyond `ability()`.
4545

4646
The "too few" rule encourages you to think about the design of the class: is it worth the effort to create the class if it only holds attribute values for a character?
4747
What other functionality should this class hold?

0 commit comments

Comments
 (0)