Class: InspecPlugins::Parallelism::SuperReporter

Inherits:
Object
  • Object
show all
Defined in:
lib/plugins/inspec-parallel/lib/inspec-parallel/super_reporter/base.rb,
lib/plugins/inspec-parallel/lib/inspec-parallel/super_reporter/text.rb,
lib/plugins/inspec-parallel/lib/inspec-parallel/super_reporter/silent.rb,
lib/plugins/inspec-parallel/lib/inspec-parallel/super_reporter/status.rb

Defined Under Namespace

Classes: Base, Silent, Status, Text

Class Method Summary collapse

Class Method Details

.make(type, job_count, invocations) ⇒ Object



4
5
6
# File 'lib/plugins/inspec-parallel/lib/inspec-parallel/super_reporter/base.rb', line 4

def self.make(type, job_count, invocations)
  Object.const_get("InspecPlugins::Parallelism::SuperReporter::" + (type[0].upcase + type[1..-1])).new(job_count, invocations)
end