Class: Lotus::Generators::Abstract Abstract
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Lotus::Generators::Abstract
- Defined in:
- lib/lotus/generators/abstract.rb
Overview
This class is abstract.
Abstract super class for generators
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(command) ⇒ Abstract
constructor
private
Initialize a generator.
-
#start ⇒ Object
abstract
Start the generator.
Constructor Details
#initialize(command) ⇒ Abstract
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize a generator
16 17 18 |
# File 'lib/lotus/generators/abstract.rb', line 16 def initialize(command) super(command) end |
Instance Method Details
#start ⇒ Object
This method is abstract.
Start the generator
@raise [NotImplementedError]
26 27 28 |
# File 'lib/lotus/generators/abstract.rb', line 26 def start raise NotImplementedError end |