Skip to content

Commit

Permalink
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 59bb737

Please sign in to comment.