File tree Expand file tree Collapse file tree
exercises/concept/moviegoer/.docs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,8 +42,7 @@ Members get free popcorn when they watch any movie.
4242
4343Implement the ` Moviegoer.claim_free_popcorn! ` method.
4444If 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.
46-
45+ If they are not, the method should raise the ` UnsupportedOperation ` exception defined at the top of the code.
4746
4847``` ruby
4948Moviegoer .new (21 , member: true ).claim_free_popcorn!
@@ -52,3 +51,7 @@ Moviegoer.new(21, member: true).claim_free_popcorn!
5251Moviegoer .new (17 , member: false ).claim_free_popcorn!
5352# => Exception was raised! (NotMovieClubMemberError)
5453```
54+
55+ ~~~~ exercism/note
56+ In this exercise, you are expected to define the `UnsupportedOperation` exception for a specific scope.
57+ ~~~~
You can’t perform that action at this time.
0 commit comments