Class: Rails::Generator::Commands::RewindBase
- Defined in:
- lib/rails_generator/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
Instance Method Summary collapse
-
#invoke! ⇒ Object
Rewind action manifest.
Methods inherited from Base
#class_collisions, #dependency, #readme
Methods inherited from Base
#destination_path, #initialize, #manifest, #source_path
Constructor Details
This class inherits a constructor from Rails::Generator::Base
Instance Method Details
#invoke! ⇒ Object
Rewind action manifest.
97 98 99 |
# File 'lib/rails_generator/commands.rb', line 97 def invoke! manifest.rewind(self) end |