Skip to content

Conversation

@abonner1
Copy link


def pick_an_apple!
raise NoApplesError, "This tree has no apples" unless self.any_apples?
apples.shift
Copy link
Member

Choose a reason for hiding this comment

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

You're consistently using self.apples elsewhere.

@mikegee
Copy link
Member

mikegee commented May 14, 2018

This looks super legit to me.

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