CleanClass
- Namespace
- Ancestors
-
-
Rake::DSL
Object
-
- Extended by
-
Rake::DSL
Tasks for cleaning up a project directory.
Constructor
initialize(nameSymbol, filesArray<
String>
= []
){ |taskself| … }?#⚙
Sets up a cleaning task #name that’ll delete #files, optionally yields the task for further customization, then #defines the task.
Instance Methods
define#⚙
nameSymbol#⚙
Returns the name of the task.
name=(valueSymbol)Symbol#⚙
Sets and returns the name of the task.
filesArray<
String>
#⚙
Returns the files to delete.
files=(valueArray<
String>
)Array<
String>
#⚙
Sets and returns the files to delete.