Skip to content

Conversation

@SuzHarrison
Copy link

Hi Crystal-this was a fun exercise and it took me another day or so to get max but I understand the pattern now. Had to add some puts statements and extra test elements to make sure it was returning what I thought it should be.

Thanks and hope your weekend is going great

Suze

end
puts "The list does not include #{key}"
return false
end

Choose a reason for hiding this comment

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

yes! this looks nice! the only thing is that you shouldn't "puts" anything because I did not ask for that, which means that you are creating unintended side-affects for the method that may not be expected.

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