Skip to content

Conversation

@mikeadeleke
Copy link

  1. Is my code good up to Eagle level?
  2. I'm trying to figure our what to stub and how to show a "hit" or "miss"

Copy link
Member

Choose a reason for hiding this comment

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

you have a method request and an attr_reader request. why? and do you understand why you can't do that?

Copy link
Author

Choose a reason for hiding this comment

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

Oh that is a mistake. I made the "request" method to assign the value true. Although, I do not really know why doing both is not a good idea

Copy link
Member

Choose a reason for hiding this comment

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

Here's a reason why that's no good. The def temp overrides the attr_accessor http://rubyfiddle.com/riddles/f1f85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants