Skip to content

Evan McCullough's solutions to the MoreEnumerables Challenge#117

Open
BIGred053 wants to merge 2 commits intopaircolumbus:masterfrom
BIGred053:emccullough
Open

Evan McCullough's solutions to the MoreEnumerables Challenge#117
BIGred053 wants to merge 2 commits intopaircolumbus:masterfrom
BIGred053:emccullough

Conversation

@BIGred053
Copy link

No description provided.

challenge.rb Outdated

def fetch_CD_animals(input)
#implement your solution here
input.select.grep(/^[cd]/)

Choose a reason for hiding this comment

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

You shouldn't need to call #select first, just the grep call on the collection will work :)

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