First time here? Check out the Help page!
1 | initial version |
Try this:
measure.run(model, runner, argument_map)
result = runner.result
puts "**MEASURE APPLICABILITY**"
applicability = result.value.value
if applicability == -1
puts "#{applicability} = Not Applicable"
elsif applicability == 0
puts "#{applicability} = Success"
elsif applicability == 1
puts "#{applicability} = Fail"
end
Here is the API documentation for the Runner
Here is the API documentation for the Runner Result
There are more examples of getting stuff (info, warning, error, initial/final condition) in this file.