Skip to content

adds a simpler zip example with only 2 lists #22

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

Closed
wants to merge 1 commit into from

Conversation

nruth
Copy link

@nruth nruth commented Nov 27, 2013

As an infrequent zip user who forgets what it does, I found the zip documentation confusing. The description jumps too soon into the multiple-collection feature and side-cases without explaining the what zip is for. I think adding this simple example will help a bit.

http://ruby-doc.org/core-2.0.0/Enumerable.html#method-i-zip

Looks ok? Worth submitting a patch?

@zzak
Copy link

zzak commented Nov 28, 2013

@nruth Thanks for the report, I'll review this soon!

zzak pushed a commit to ruby/ruby that referenced this pull request Jan 21, 2014
  Patch by @nruth on documenting-ruby#22
  documenting-ruby#22


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

zzak commented Jan 21, 2014

@nruth This was committed upstream at ruby/ruby@f72e5b8

Thank you for your patience!

@zzak zzak closed this Jan 21, 2014
mmasaki pushed a commit to mmasaki/ruby that referenced this pull request Jan 22, 2014
  Patch by @nruth on documenting-ruby#22
  documenting-ruby#22


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlove pushed a commit to tenderlove/ruby that referenced this pull request Jan 24, 2014
  Patch by @nruth on documenting-ruby#22
  documenting-ruby#22


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mrkn pushed a commit to mrkn/ruby that referenced this pull request Feb 15, 2014
  Patch by @nruth on documenting-ruby#22
  documenting-ruby#22


git-svn-id: svn+ssh://svn.ruby-lang.org/ruby/trunk@44672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
funky-bibimbap pushed a commit to funky-bibimbap/ruby that referenced this pull request Mar 2, 2014
  Patch by @nruth on documenting-ruby#22
  documenting-ruby#22


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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