From: Eric Hodel Date: 2011-11-22T14:15:38+09:00 Subject: [ruby-core:41194] [ruby-trunk - Feature #5658] Wrap mkmf.rb in a module to clean up documentation Issue #5658 has been updated by Eric Hodel. I merged the try_func change and thought I got it right, but obviously not. I will check it again. I will define try_header in MakeMakefile and restore the END behavior. What do you think of the name "MakeMakefile"? I do not know if a name like "Mkmf" or "MkMf" would be better. ---------------------------------------- Feature #5658: Wrap mkmf.rb in a module to clean up documentation http://redmine.ruby-lang.org/issues/5658 Author: Eric Hodel Status: Open Priority: Normal Assignee: Category: lib Target version: 2.0.0 =begin Currently all of the methods in mkmf.rb exist at the top-level. This causes methods from mkmf.rb to show up in Object in ((%ri%)). The attached patch wraps the functionality of mkmf.rb in a module MakeMakefile which is then included at top-level. This preserves the existing functionality while separating the documentation. The patch survives `make clean; make` on OS X 10.7 =end -- http://redmine.ruby-lang.org