Class Rake::FileTask
In: lib/buildr/core/checks.rb  (CVS)
Parent: Object

Methods

contain?   empty?   exist?  

Public Instance methods

For a file, returns true if the file content matches against all the arguments. An argument may be a string or regular expression.

For a directory, return true if the directory contains the specified files. You can use relative file names and glob patterns (using *, **, etc).

Returns true if file/directory is empty.

Returns true if this file exists.

[Validate]