Class: DataShift::Reporters::Reporter

Inherits:
Object
  • Object
show all
Includes:
Logging
Defined in:
lib/datashift/loaders/reporters/reporter.rb

Direct Known Subclasses

BasicStdoutReporter

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Logging

#logdir, #logdir=, #logger, #verbose

Constructor Details

#initialize(progress_monitor = DataShift::ProgressMonitor.new) ⇒ Reporter

Returns a new instance of Reporter.



16
17
18
# File 'lib/datashift/loaders/reporters/reporter.rb', line 16

def initialize(progress_monitor = DataShift::ProgressMonitor.new)
  @progress_monitor = progress_monitor
end

Instance Attribute Details

#progress_monitorObject

Holds the actual data r.e data rows/objects inbound



14
15
16
# File 'lib/datashift/loaders/reporters/reporter.rb', line 14

def progress_monitor
  @progress_monitor
end

Instance Method Details

#reportObject

an abstract method



21
# File 'lib/datashift/loaders/reporters/reporter.rb', line 21

def report; end