Class: RubiGen::Commands::RewindBase
- Defined in:
- lib/rubigen/commands.rb
Overview
Base class for commands which handle generator actions in reverse, such as Destroy.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Base
#args, #destination_root, #source_root, #stdout
Attributes included from Options
Instance Method Summary collapse
-
#invoke! ⇒ Object
Rewind action manifest.
Methods inherited from Base
#class_collisions, #dependency, #readme, #write_manifest
Methods inherited from Base
#after_generate, #base_name, #destination_path, #initialize, #manifest, #source_path
Methods included from Options
Constructor Details
This class inherits a constructor from RubiGen::Base
Instance Method Details
#invoke! ⇒ Object
Rewind action manifest.
167 168 169 |
# File 'lib/rubigen/commands.rb', line 167 def invoke! manifest.rewind(self) end |