Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shorten using Set#add? and IO::foreach #1

Merged
merged 3 commits into from
May 15, 2014
Merged

shorten using Set#add? and IO::foreach #1

merged 3 commits into from
May 15, 2014

Conversation

sunaku
Copy link
Contributor

@sunaku sunaku commented May 15, 2014

A wee bit of refactoring to shorten your code! :neckbeard:

@sunaku sunaku changed the title use Set#add? to test and add in one shot shorten using Set#add? and IO::foreach() May 15, 2014
@sunaku sunaku changed the title shorten using Set#add? and IO::foreach() shorten using Set#add? and IO::foreach May 15, 2014
junegunn added a commit that referenced this pull request May 15, 2014
shorten using Set#add? and IO::foreach
@junegunn junegunn merged commit 568c55e into junegunn:master May 15, 2014
@junegunn
Copy link
Owner

👍

@sunaku sunaku deleted the patch-1 branch May 16, 2014 00:49
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