Quiz 4
1. Which operator is used for defining a singleton class method?
2. What does `public_send` do differently from `send`?
3. Which method can be used to trace method execution?
4. What is the return value of an empty `begin...end` block?
5. Which method can be used to re-open a class?
6. What is a 'hook' method?
7. Which method allows you to execute a block in an object's scope?
8. What is the main use of `Module#module_eval`?
9. Which method defines a hook for class instantiation?
10. What does the `&` (ampersand) operator do before a block argument?
Previous Next