Skip to content

Commit 93f64f9

Browse files
[SimpleCalculator] added note about exception scope (#1824)
A note was added to instructions clarifying that UnsupportedOperation is expected to be defined for a specific scope.
1 parent 53e24bd commit 93f64f9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

exercises/concept/simple-calculator/.docs/instructions.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ SimpleCalculator.calculate(1, 2, '-')
3333
# => Raises an UnsupportedOperation
3434
```
3535

36+
~~~~exercism/note
37+
In this exercise, you are expected to define the `UnsupportedOperation` exception for a specific scope.
38+
~~~~
39+
3640
## 3. Handle invalid arguments
3741

3842
Update the `SimpleCalculator.calculate()` method to raise an `ArgumentError` exception for invalid argument types.

0 commit comments

Comments
 (0)