From: Giuseppe Bilotta Date: 2008-08-12T08:38:51+09:00 Subject: [ruby-core:18246] [Ruby 1.8.7 - Feature #420] (Open) [PATCH] Hash#default_proc= Issue #420 has been reported by Giuseppe Bilotta. ---------------------------------------- Feature #420: [PATCH] Hash#default_proc= http://redmine.ruby-lang.org/issues/show/420 Author: Giuseppe Bilotta Status: Open Priority: Normal Assigned to: Category: Target version: The attached patch implements Hash#default_proc= (see also Bug #419) for Ruby 1.8.7 I had to make rb_obj_is_proc nonstatic in eval.c and put it in an extern in hash.c --it could be done more cleanly by defining an appropriate header file, I hope that my going the short route is not too much of a problem. ---------------------------------------- http://redmine.ruby-lang.org