Skip to content

Commit e0cadfb

Browse files
committed
added scope note in moviegoer as was done in simple calculator
1 parent 9ad0b0f commit e0cadfb

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

exercises/concept/moviegoer/.docs/instructions.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,11 @@ Members get free popcorn when they watch any movie.
4242

4343
Implement the `Moviegoer.claim_free_popcorn!` method.
4444
If a viewer is a movie club member, they should be rewarded with their free popcorn.
45-
If they are not, the method should raise the `NotMovieClubMemberError` exception defined at the top of the code.
45+
If they are not, the method should raise the `
46+
~~~~exercism/note
47+
In this exercise, you are expected to define the `UnsupportedOperation` exception for a specific scope.
48+
~~~~
49+
` exception defined at the top of the code.
4650

4751

4852
```ruby
@@ -52,3 +56,11 @@ Moviegoer.new(21, member: true).claim_free_popcorn!
5256
Moviegoer.new(17, member: false).claim_free_popcorn!
5357
#=> Exception was raised! (NotMovieClubMemberError)
5458
```
59+
60+
~~~~exercism/note
61+
In this exercise, you are expected to define the `
62+
~~~~exercism/note
63+
In this exercise, you are expected to define the `UnsupportedOperation` exception for a specific scope.
64+
~~~~
65+
` exception for a specific scope.
66+
~~~~

0 commit comments

Comments
 (0)