Class: AbstractImporter::Reporters::DotReporter

Inherits:
DebugReporter show all
Defined in:
lib/abstract_importer/reporters/dot_reporter.rb

Instance Attribute Summary

Attributes inherited from DebugReporter

#invalid_params

Attributes inherited from BaseReporter

#io

Instance Method Summary collapse

Methods inherited from DebugReporter

#count_error, #count_notice, #file, #finish_all, #finish_collection, #finish_setup, #initialize, #production?, #start_all, #start_collection, #stat, #status

Methods inherited from BaseReporter

#count_error, #count_notice, #finish_all, #finish_collection, #finish_setup, #initialize, #start_all, #start_collection

Constructor Details

This class inherits a constructor from AbstractImporter::Reporters::DebugReporter

Instance Method Details

#record_created(record) ⇒ Object



6
7
8
9
# File 'lib/abstract_importer/reporters/dot_reporter.rb', line 6

def record_created(record)
  io.print "."
  super
end

#record_failed(record, hash) ⇒ Object



11
12
13
14
# File 'lib/abstract_importer/reporters/dot_reporter.rb', line 11

def record_failed(record, hash)
  io.print "×"
  super
end