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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alias Struct#filter as Array#filter #1862

Closed
wants to merge 1 commit into from
Closed

Conversation

kachick
Copy link
Member

@kachick kachick commented Apr 21, 2018

ref:

Currently it is calling Enumerable#filter. Don't we have to alias Struct#filter as Array? 馃

matzbot pushed a commit that referenced this pull request Sep 16, 2018
[Fix GH-#1862] [#1784]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
@marcandre
Copy link
Member

馃憤 Good catch, great patch!
I only added a ruby_version_is guard to the specs for Struct#filter.
Thanks

@marcandre marcandre closed this Sep 16, 2018
@kachick
Copy link
Member Author

kachick commented Sep 16, 2018

Thank you!

@kachick kachick deleted the select-filter branch September 16, 2018 06:11
znz added a commit to znz/doctree that referenced this pull request Sep 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants