class Renogen::ExtractionStratagies::Base

Template for all extraction stratagies

Attributes

changelog[R]

Public Class Methods

new(options={}) click to toggle source
# File lib/renogen/extraction_stratagies/base.rb, line 13
def initialize(options={})
  @changelog ||= ChangeLog::Model.new
end
register(identifier) click to toggle source

Adds class with identifier to extraction stratagies

@param identifier [String]

# File lib/renogen/extraction_stratagies/base.rb, line 9
def self.register(identifier)
  Renogen::ExtractionStratagies.add(identifier.to_sym, self)
end

Public Instance Methods

extract() click to toggle source

Parse changes from source

@return [NotImplementedError]

# File lib/renogen/extraction_stratagies/base.rb, line 20
def extract
  raise NotImplementedError
end