Project

General

Profile

Actions

Feature #5658

closed

Wrap mkmf.rb in a module to clean up documentation

Added by drbrain (Eric Hodel) about 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
[ruby-core:41187]

Description

=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


Files

mkmf.rb.in_a_module.patch (132 KB) mkmf.rb.in_a_module.patch drbrain (Eric Hodel), 11/22/2011 11:42 AM
mkmf.rb.in_a_module.2.patch (132 KB) mkmf.rb.in_a_module.2.patch Corrected patch drbrain (Eric Hodel), 11/23/2011 07:46 AM
mkmf.rb.in_a_module.no_whitespace.patch (2.81 KB) mkmf.rb.in_a_module.no_whitespace.patch svn diff -x -w lib/mkmf.rb drbrain (Eric Hodel), 11/23/2011 07:48 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0