Class: Excavate::Extractors::Extractor

Inherits:
Object
  • Object
show all
Defined in:
lib/excavate/extractors/extractor.rb

Instance Method Summary collapse

Constructor Details

#initialize(archive) ⇒ Extractor

Returns a new instance of Extractor.



4
5
6
# File 'lib/excavate/extractors/extractor.rb', line 4

def initialize(archive)
  @archive = archive
end

Instance Method Details

#extract(_target) ⇒ Object

Raises:

  • (NotImplementedError)


8
9
10
# File 'lib/excavate/extractors/extractor.rb', line 8

def extract(_target)
  raise NotImplementedError.new("You must implement this method")
end