Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Revert "Back to a proc again. Le sigh.""
Browse files Browse the repository at this point in the history
This reverts commit 928f272.
headius committed Aug 12, 2016
1 parent 729f1ed commit 1323096
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion core/src/main/ruby/jruby/kernel/hash.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
class Hash
def to_proc
method(:[]).to_proc
this_hash = self
proc {|*a| this_hash[*a]}
end
end
1 change: 0 additions & 1 deletion spec/tags/ruby/core/hash/to_proc_tags.txt

This file was deleted.

0 comments on commit 1323096

Please sign in to comment.