rake_check_options

rake_check_options(options, *optdecl) Instance Public methods 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

rake_merge_option(args, defaults) Instance Public methods Merge the given options with the default values.

rake_output_message

rake_output_message(message) Instance Public methods Send the message to the default rake output (which is $stderr).

verbose

verbose(value=nil) Instance Public methods Get/set the verbose flag controlling output from the FileUtils utilities. If verbose is true, then the utility method is echoed to standard output. Examples: verbose # return the current value of the # verbose flag verbose(v) # set the verbose flag to _v_. verbose(v) { code } # Execute code with the verbose flag set # temporarily to _v_. Return to the

when_writing

when_writing(msg=nil) Instance Public methods Use this function to prevent potentially destructive ruby code from running when the :nowrite flag is set. Example: when_writing("Building Project") do project.build end The following code will build the project under normal conditions. If the nowrite(true) flag is set, then the example will print: DRYRUN: Building Project instead of actually building the project.

date

date() Class Public methods

new

new(path, entry) Class Public methods

time

time() Class Public methods

directory?

directory?() Instance Public methods

mode

mode() Instance Public methods