Refactor various ruby files

* Insights based on brakeman report
This commit is contained in:
Sebastian Serth
2022-08-18 15:06:36 +02:00
parent 1560f6b316
commit 145c4aa8d5
35 changed files with 113 additions and 107 deletions

View File

@ -23,7 +23,7 @@ class Assessor
def initialize(options = {})
if options[:execution_environment].testing_framework?
@testing_framework_adapter = Kernel.const_get(options[:execution_environment].testing_framework).new
@testing_framework_adapter = options[:execution_environment].testing_framework.constantize.new
else
raise Error.new('No testing framework adapter set!')
end