include(*filenames) Instance Public methods Add file names defined by glob patterns to the file list. If an array is given, add each element of the array. Example: file_list.include("*.java", "*.cfg") file_list.include %w( math.c lib.h *.o ) add
is_a?(klass) Instance Public methods Lie about our class. kind_of?
kind_of?(klass) Instance Public methods Alias for: is_a?
resolve() Instance Public methods Resolve all the pending adds now.
resolve_add(fn) Instance Public methods
to_a() Instance Public methods Return the internal array object.
to_ary() Instance Public methods Return the internal array object.
needed?() Instance Public methods Is this file task needed? Yes if it doesn't exist, or if its time stamp is out of date.
timestamp() Instance Public methods Time stamp for file task.
nowrite(value=nil) Instance Public methods Get/set the nowrite flag controlling output from the FileUtils utilities. If verbose is true, then the utility method is echoed to standard output. Examples: nowrite # return the current value of the # nowrite flag nowrite(v) # set the nowrite flag to _v_. nowrite(v) { code } # Execute code with the nowrite flag set # temporarily to _v_. Return to the #
Page 841 of 11844