Cryload::ThresholdResult - cryload 6.0.0

# struct Cryload::ThresholdResult

- Cryload::ThresholdResult
- Struct
- Value
- Object

##
Overview

Outcome of evaluating one threshold, reported verbatim in JSON and as a PASS/FAIL line in the text report.

##
Defined in:

cryload/ci_thresholds.cr

##
Constructors

- .new(name : String, scope : String, metric : String, comparator : String, limit : Float64, actual : Float64, passed : Bool)

##
Instance Method Summary

- #actual : Float64
- #comparator : String
- #limit : Float64
- #metric : String
- #name : String
- #passed? : Bool
- #scope : String

##
Constructor Detail

def self.new(name : String, scope : String, metric : String, comparator : String, limit : Float64, actual : Float64, passed : Bool) #

##
Instance Method Detail

def actual : Float64 #
def comparator : String #
def limit : Float64 #
def metric : String #
def name : String #
def passed? : Bool #
def scope : String #