Class: Ucode::CodeChart::BatchRunner::Aggregate
- Inherits:
-
Struct
- Object
- Struct
- Ucode::CodeChart::BatchRunner::Aggregate
- Defined in:
- lib/ucode/code_chart/batch_runner.rb
Overview
Aggregate across the whole batch.
Instance Attribute Summary collapse
-
#blocks_failed ⇒ Object
Returns the value of attribute blocks_failed.
-
#blocks_processed ⇒ Object
Returns the value of attribute blocks_processed.
-
#blocks_skipped ⇒ Object
Returns the value of attribute blocks_skipped.
-
#svgs_skipped ⇒ Object
Returns the value of attribute svgs_skipped.
-
#svgs_written ⇒ Object
Returns the value of attribute svgs_written.
-
#total_codepoints ⇒ Object
Returns the value of attribute total_codepoints.
Instance Method Summary collapse
-
#initialize ⇒ Aggregate
constructor
A new instance of Aggregate.
Constructor Details
#initialize ⇒ Aggregate
Returns a new instance of Aggregate.
35 36 37 38 39 40 41 42 43 |
# File 'lib/ucode/code_chart/batch_runner.rb', line 35 def initialize(*) super self.blocks_processed ||= 0 self.blocks_skipped ||= 0 self.blocks_failed ||= 0 self.svgs_written ||= 0 self.svgs_skipped ||= 0 self.total_codepoints ||= 0 end |
Instance Attribute Details
#blocks_failed ⇒ Object
Returns the value of attribute blocks_failed
30 31 32 |
# File 'lib/ucode/code_chart/batch_runner.rb', line 30 def blocks_failed @blocks_failed end |
#blocks_processed ⇒ Object
Returns the value of attribute blocks_processed
30 31 32 |
# File 'lib/ucode/code_chart/batch_runner.rb', line 30 def blocks_processed @blocks_processed end |
#blocks_skipped ⇒ Object
Returns the value of attribute blocks_skipped
30 31 32 |
# File 'lib/ucode/code_chart/batch_runner.rb', line 30 def blocks_skipped @blocks_skipped end |
#svgs_skipped ⇒ Object
Returns the value of attribute svgs_skipped
30 31 32 |
# File 'lib/ucode/code_chart/batch_runner.rb', line 30 def svgs_skipped @svgs_skipped end |
#svgs_written ⇒ Object
Returns the value of attribute svgs_written
30 31 32 |
# File 'lib/ucode/code_chart/batch_runner.rb', line 30 def svgs_written @svgs_written end |
#total_codepoints ⇒ Object
Returns the value of attribute total_codepoints
30 31 32 |
# File 'lib/ucode/code_chart/batch_runner.rb', line 30 def total_codepoints @total_codepoints end |