Class: Symian::MemoryBackend

Inherits:
Object
  • Object
show all
Defined in:
lib/symian/trace_collector.rb

Direct Known Subclasses

YAMLBackend

Instance Method Summary collapse

Constructor Details

#initializeMemoryBackend

Returns a new instance of MemoryBackend.



37
38
39
40
41
# File 'lib/symian/trace_collector.rb', line 37

def initialize
  TraceCollector::ATTRIBUTES.each do |attr|
    instance_variable_set("@#{attr}_storage", [])
  end
end

Instance Method Details

#save_and_closeObject



70
71
72
# File 'lib/symian/trace_collector.rb', line 70

def save_and_close
  # raise NotImplementedError, 'A trace with memory backend cannot be saved!'
end