Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Week7 homework for Sean Sehr #114

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

seansehr
Copy link

No description provided.

@@ -3,7 +3,16 @@ Please Read Chapters 23 and 24 DuckTyping and MetaProgramming

Questions:
1. What is method_missing and how can it be used?
The method_messing is used when an object executes the method, but the method is not found. It is ran instead of a NoMethodError exception. The method_missing method is passed the symbol of the non-existent method, an array of the arguments that were passed in the original call and any block passed to the original method.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants