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.
on 12.08.2008 01:41