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

Homework for Week 7 Questions only #113

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

Homework for Week 7 Questions only #113

wants to merge 32 commits into from

Conversation

wmuengineer
Copy link

I've only been able to complete the questions this week. I will submit the code portion of the homework in the next couple of days.

I'm turning in late homework as I was a late add to the class.
Week two homework turned in.
I'm turning in late homework as I was a late add to the class.
Week two homework turned in.
This does work… I think
All tests pass. Now i have to reafactor the factorial method before i
turn in the homework.
Conflicts:
	week2/exercises/book.rb
	week2/exercises/book_spec.rb
Includes questions and the programming work.
e remote-tracking branch 'upstream/master'

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
se enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Please disregard the pirate homework files. I will complete late.

Thanks,
Adam
2. What is and Eigenclass and what is it used for? Where Do Singleton methods live?
3. When would you use DuckTypeing? How would you use it to improve your code?
4. What is the difference between a class method and an instance method? What is the difference between instance_eval and class_eval?
When an object it cannot handel the method_missing method can be used to implement proxies, delegators, and forwarders (of which i have no idea what they are)
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.

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