Class: TraceViz::Extractors::BaseExtractor

Inherits:
Object
  • Object
show all
Defined in:
lib/trace_viz/extractors/base_extractor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(collector) ⇒ BaseExtractor

Returns a new instance of BaseExtractor.



8
9
10
# File 'lib/trace_viz/extractors/base_extractor.rb', line 8

def initialize(collector)
  @collector = collector
end

Instance Attribute Details

#collectorObject (readonly)

Returns the value of attribute collector.



6
7
8
# File 'lib/trace_viz/extractors/base_extractor.rb', line 6

def collector
  @collector
end

Instance Method Details

#extractObject

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/trace_viz/extractors/base_extractor.rb', line 12

def extract
  raise NotImplementedError
end