Module

RakeFileUtils

Includes:

RakeFileUtils provides a custom version of the FileUtils methods that respond to the verbose and nowrite commands.

Public Attributes
nowrite_flag
verbose_flag
Public Methods
nowrite Get/set the nowrite flag controlling output from the FileUtils utilities. If verbose is true, then the utility method is echoed to standard output.
verbose Get/set the verbose flag controlling output from the FileUtils utilities. If verbose is true, then the utility method is echoed to standard output.
when_writing Use this function to prevent protentially destructive ruby code from running when the :nowrite flag is set.
Private Methods
rake_check_options Check that the options do not contain options not listed in optdecl. An ArgumentError exception is thrown if non-declared options are found.
rake_merge_option Merge the given options with the default values.
rake_output_message Send the message to the default rake output (which is $stderr).
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.