Class: DataShift::Reporters::Reporter
- Inherits:
-
Object
- Object
- DataShift::Reporters::Reporter
- Includes:
- Logging
- Defined in:
- lib/datashift/loaders/reporters/reporter.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#progress_monitor ⇒ Object
Holds the actual data r.e data rows/objects inbound.
Instance Method Summary collapse
-
#initialize(progress_monitor = DataShift::ProgressMonitor.new) ⇒ Reporter
constructor
A new instance of Reporter.
-
#report ⇒ Object
an abstract method.
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_monitor ⇒ Object
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
#report ⇒ Object
an abstract method
21 |
# File 'lib/datashift/loaders/reporters/reporter.rb', line 21 def report; end |