disu.se

CleanClass

Namespace

Inventory::Rake::Tasks

Ancestors
  1. Rake::DSL

  2. Object

Extended by
  1. 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#

Defines the task #name that’ll delete #files.

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.