Rake extensions to Module.
| Public Methods |
| const_missing |
Check for deprecated uses of top level (i.e. in Object) uses of Rake class
names. If someone tries to reference the constant name, display a warning
and return the proper object. Using the —classic-namespace command
line option will define these constants in Object and avoid this handler.
|
| rake_extension |
Check for an existing method in the current class before extending. IF the
method already exists, then a warning is printed and the extension is not
added. Otherwise the block is yielded and any definitions in the block will
take effect.
|
<code/>and<pre/>for code samples.