From: Nobuyoshi Nakada Date: 2011-11-22T12:26:34+09:00 Subject: [ruby-core:41188] [ruby-trunk - Feature #5658] Wrap mkmf.rb in a module to clean up documentation Issue #5658 has been updated by Nobuyoshi Nakada. =begin I agree the concept, and have planned for it. But, the patch reverts (({try_func})) partially (and unintentionally?), and (({try_header})) should be defined in the module not only in (({Object})). Also, since (({mkmf_failed})) should not be registered more than once, (({END})) block should not be moved? =end ---------------------------------------- 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