Class: Renogen::ExtractionStratagies::Base
- Inherits:
-
Object
- Object
- Renogen::ExtractionStratagies::Base
- Defined in:
- lib/renogen/extraction_stratagies/base.rb
Overview
Template for all extraction stratagies
Direct Known Subclasses
Class Method Summary collapse
-
.register(identifier) ⇒ Object
Adds class with identifier to extraction stratagies.
Instance Method Summary collapse
-
#extract ⇒ NotImplementedError
Parse changes from source.
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Constructor Details
Class Method Details
.register(identifier) ⇒ Object
Adds class with identifier to extraction stratagies
9 10 11 |
# File 'lib/renogen/extraction_stratagies/base.rb', line 9 def self.register(identifier) Renogen::ExtractionStratagies.add(identifier.to_sym, self) end |
Instance Method Details
#extract ⇒ NotImplementedError
Parse changes from source
20 21 22 |
# File 'lib/renogen/extraction_stratagies/base.rb', line 20 def extract raise NotImplementedError end |