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

Week 7 homework #126

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

Week 7 homework #126

wants to merge 24 commits into from

Conversation

styerfoam
Copy link

checking in with homework

helps provide a catching mechanism for NoMethodError exceptions.
example def method_missing(method, *args, &block)
puts "there is no method called #{method} -- please try again."
end
Copy link
Contributor

Choose a reason for hiding this comment

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

method_missing is the method that Ruby looks for after it can't find the method that's been called anywhere in the class hierarchy that it was called in.

@styerfoam
Copy link
Author

final comment for final.

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