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

Use Set to ensure unique arrays #233

Merged
merged 1 commit into from
May 2, 2020
Merged

Use Set to ensure unique arrays #233

merged 1 commit into from
May 2, 2020

Conversation

Fustrate
Copy link
Contributor

Gets rid of a few FIXME's.

Set has been in Ruby forever, and it supports the few methods already used on the existing arrays (<<, find, each).

Signed-off-by: Steven Hoffman <git@fustrate.com>
Copy link
Member

@joshbuker joshbuker left a comment

Choose a reason for hiding this comment

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

Elegant solution! Well done. 👍

@joshbuker joshbuker merged commit 6ba63a4 into Sorcery:master May 2, 2020
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