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

Add NArray#map alias for NArray#collect #35

Open
zaeleus opened this issue Mar 13, 2013 · 1 comment
Open

Add NArray#map alias for NArray#collect #35

zaeleus opened this issue Mar 13, 2013 · 1 comment

Comments

@zaeleus
Copy link

zaeleus commented Mar 13, 2013

Array#map was introduced in Ruby 1.6. This was likely because map is a more common term than collect. It would be appropriate to add an NArray#map alias for NArray#collect to be more consistent to Array#collect.

Patch here: https://gist.github.com/zaeleus/5156053

@masa16
Copy link
Owner

masa16 commented Mar 16, 2013

I have imported this patch. Thank you.

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

No branches or pull requests

2 participants