Class RubiGen::Commands::Destroy
In: lib/rubigen/commands.rb
Parent: RewindBase

Undo the actions performed by a generator. Rewind the action manifest and attempt to completely erase the results of each action.

Methods

Public Instance methods

Remove each directory in the given path from right to left. Remove each subdirectory if it exists and is a directory.

When deleting a migration, it knows to delete every file named "[0-9]*_#{file_name}".

template(relative_source, relative_destination, file_options = {})

Alias for file

[Validate]