Class: Apimaster::Generators::RewindBase
- Defined in:
- lib/apimaster/generators/command.rb
Overview
Base class for commands which handle generator actions in reverse, such as Destroy.
Direct Known Subclasses
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
#active, #args, #destination_root, #logger, #source_root, #spec, #stdout
Attributes included from Options
Instance Method Summary collapse
-
#invoke! ⇒ Object
Rewind action manifest.
Methods inherited from Command
#class_collisions, #dependency, #destination_path, #readme, #source_path, #write_manifest
Methods inherited from Base
#after_generate, #base_name, #camelize, #destination_path, #initialize, #manifest, #pluralize, #run, #source_path
Methods included from Options
Constructor Details
This class inherits a constructor from Apimaster::Generators::Base
Instance Method Details
#invoke! ⇒ Object
Rewind action manifest.
181 182 183 |
# File 'lib/apimaster/generators/command.rb', line 181 def invoke! manifest.rewind(self) end |