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

Already on GitHub? Sign in to your account

Remove an unused block argument to avoid creating Proc objects. #87

Merged
merged 1 commit into from Oct 17, 2012

Conversation

Projects
None yet
3 participants
Contributor

k-tsj commented Nov 5, 2011

I propose that an unused block argument should be removed.
It creates unnecessary Proc objects.

I applied similar patches to standard libraries in ruby-trunk(ruby/ruby@c3749b6).

Thanks

Contributor

rctay commented Dec 12, 2011

Looks correct.

jimweirich added a commit that referenced this pull request Oct 17, 2012

Merge pull request #87 from k-tsj/remove-unused-block-argument
Remove an unused block argument to avoid creating Proc objects.

@jimweirich jimweirich merged commit 225ed21 into jimweirich:master Oct 17, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment