Class: Ucode::CodeChart::BatchRunner::Aggregate

Inherits:
Struct
  • Object
show all
Defined in:
lib/ucode/code_chart/batch_runner.rb

Overview

Aggregate across the whole batch.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAggregate

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_failedObject

Returns the value of attribute blocks_failed

Returns:

  • (Object)

    the current value of blocks_failed



30
31
32
# File 'lib/ucode/code_chart/batch_runner.rb', line 30

def blocks_failed
  @blocks_failed
end

#blocks_processedObject

Returns the value of attribute blocks_processed

Returns:

  • (Object)

    the current value of blocks_processed



30
31
32
# File 'lib/ucode/code_chart/batch_runner.rb', line 30

def blocks_processed
  @blocks_processed
end

#blocks_skippedObject

Returns the value of attribute blocks_skipped

Returns:

  • (Object)

    the current value of blocks_skipped



30
31
32
# File 'lib/ucode/code_chart/batch_runner.rb', line 30

def blocks_skipped
  @blocks_skipped
end

#svgs_skippedObject

Returns the value of attribute svgs_skipped

Returns:

  • (Object)

    the current value of svgs_skipped



30
31
32
# File 'lib/ucode/code_chart/batch_runner.rb', line 30

def svgs_skipped
  @svgs_skipped
end

#svgs_writtenObject

Returns the value of attribute svgs_written

Returns:

  • (Object)

    the current value of svgs_written



30
31
32
# File 'lib/ucode/code_chart/batch_runner.rb', line 30

def svgs_written
  @svgs_written
end

#total_codepointsObject

Returns the value of attribute total_codepoints

Returns:

  • (Object)

    the current value of total_codepoints



30
31
32
# File 'lib/ucode/code_chart/batch_runner.rb', line 30

def total_codepoints
  @total_codepoints
end