Class: AbstractImporter::Reporters::DotReporter
Instance Attribute Summary
#invalid_params
Attributes inherited from BaseReporter
#io
Instance Method Summary
collapse
#count_error, #count_notice, #file, #finish_all, #finish_collection, #finish_setup, #initialize, #start_all, #start_collection, #stat, #status
#count_error, #count_notice, #finish_all, #finish_collection, #finish_setup, #finish_teardown, #initialize, #start_all, #start_collection
Instance Method Details
#batch_inserted(size) ⇒ Object
21
22
23
24
|
# File 'lib/abstract_importer/reporters/dot_reporter.rb', line 21
def batch_inserted(size)
io.print "." * size
super
end
|
#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
|
#record_skipped(hash) ⇒ Object
16
17
18
19
|
# File 'lib/abstract_importer/reporters/dot_reporter.rb', line 16
def record_skipped(hash)
io.print "_"
super
end
|